ApiSystem: fix

This commit is contained in:
pavelbannov 2023-09-29 12:53:08 +03:00
parent 6e63f81def
commit 7eb9f4700a
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,8 @@
// content are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
using ASC.Core;
namespace ASC.ApiCache;
public class Startup
@ -117,6 +119,8 @@ public class Startup
{
app.UseCors(CustomCorsPolicyName);
}
app.UseSynchronizationContextMiddleware();
app.UseAuthentication();

View File

@ -139,6 +139,8 @@ public class Startup
{
app.UseCors(CustomCorsPolicyName);
}
app.UseSynchronizationContextMiddleware();
app.UseAuthentication();