Uat_Study
parent
ac7da8dede
commit
f5fe6aaf2c
|
@ -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 =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue