diff --git a/Bootstrap.Admin/Startup.cs b/Bootstrap.Admin/Startup.cs index 353f3af0..4af940c9 100644 --- a/Bootstrap.Admin/Startup.cs +++ b/Bootstrap.Admin/Startup.cs @@ -62,6 +62,7 @@ namespace Bootstrap.Admin { app.UseExceptionHandler("/Home/Error"); } + app.UseCors(builder => builder.AllowAnyOrigin().AllowAnyHeader().AllowAnyMethod().AllowCredentials()); app.UseStaticFiles(); app.UseAuthentication(); app.UseCacheManagerCorsHandler();