Commit 380706f5 authored by liudong1993's avatar liudong1993

1

parent de284972
...@@ -75,7 +75,8 @@ namespace Mall.WebApi ...@@ -75,7 +75,8 @@ namespace Mall.WebApi
"http://testmall.oytour.com", "http://testmall.oytour.com",
"http://yx.oytour.com", "http://yx.oytour.com",
"https://mallapi.oytour.com", "https://mallapi.oytour.com",
"http://edu.oytour.com" "http://edu.oytour.com",
"http://jvs.oytour.com"
}; };
services.AddCors(options => options.AddPolicy("AllowCors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().WithOrigins(corsArray.ToArray()))); services.AddCors(options => options.AddPolicy("AllowCors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().WithOrigins(corsArray.ToArray())));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment