Commit 6fc6381f authored by liudong1993's avatar liudong1993

1

parent 380706f5
......@@ -76,7 +76,8 @@ namespace Mall.WebApi
"http://yx.oytour.com",
"https://mallapi.oytour.com",
"http://edu.oytour.com",
"http://jvs.oytour.com"
"http://jvs.oytour.com",
"http://pic.oytour.com"
};
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