This commit is contained in:
2022-08-05 15:40:37 +08:00
parent f5fe6aaf2c
commit c4e727e055
+1 -1
View File
@@ -228,7 +228,7 @@ namespace IRaCIS.Core.API
//文件伺服 必须带Token 访问
//app.UseIRacisHostStaticFileStore(env);
app.UseCors(t => t.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader().AllowCredentials());
app.UseCors(t => t.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());
app.UseEndpoints(endpoints =>
{