From 6d2b95b5b18121764523bc4f4891e8412556ec72 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期一, 26 八月 2024 09:11:23 +0800 Subject: [PATCH] 1 --- WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs index e2687ad..2217039 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs @@ -70,7 +70,6 @@ { options.Filters.Add(typeof(ApiAuthorizeFilter)); //options.Filters.Add(typeof(ActionExecuteFilter)); - // options.SuppressAsyncSuffixInActionNames = false; }); builder.Services.AddAuthorizationSetup(); @@ -138,11 +137,8 @@ app.UseRouting(); - app.UseAuthentication(); app.UseAuthorization(); - - app.MapControllers(); -- Gitblit v1.9.3