Uat_Study
parent
f5fe6aaf2c
commit
c4e727e055
|
@ -228,7 +228,7 @@ namespace IRaCIS.Core.API
|
||||||
//文件伺服 必须带Token 访问
|
//文件伺服 必须带Token 访问
|
||||||
//app.UseIRacisHostStaticFileStore(env);
|
//app.UseIRacisHostStaticFileStore(env);
|
||||||
|
|
||||||
app.UseCors(t => t.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader().AllowCredentials());
|
app.UseCors(t => t.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader());
|
||||||
|
|
||||||
app.UseEndpoints(endpoints =>
|
app.UseEndpoints(endpoints =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue