ApiSystem: fix
This commit is contained in:
parent
6e63f81def
commit
7eb9f4700a
@ -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();
|
||||
|
||||
|
@ -139,6 +139,8 @@ public class Startup
|
||||
{
|
||||
app.UseCors(CustomCorsPolicyName);
|
||||
}
|
||||
|
||||
app.UseSynchronizationContextMiddleware();
|
||||
|
||||
app.UseAuthentication();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user