update v0.0.2 twa sys
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
using Microsoft.AspNetCore.Http.Features;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using TWASys_App.Models.Login;
|
||||
|
||||
await WSNavigation.LoadJson();
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
@ -10,6 +11,7 @@ builder.Services.Configure<FormOptions>(o => {
|
||||
});
|
||||
builder.Services.AddControllers(options =>
|
||||
{
|
||||
options.Filters.Add(new LoginCheckFilter());
|
||||
options.Filters.Add<AsyncGateAttribute>();
|
||||
}).AddJsonOptions(options =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user