Uat_Study
hang 2022-08-05 15:39:24 +08:00
parent ac7da8dede
commit f5fe6aaf2c
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ namespace IRaCIS.Core.API
//文件伺服 必须带Token 访问
//app.UseIRacisHostStaticFileStore(env);
//app.UseCors(t => t.WithOrigins(new string[] { "null" }).AllowAnyMethod().AllowAnyHeader().AllowCredentials());
app.UseCors(t => t.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader().AllowCredentials());
app.UseEndpoints(endpoints =>
{