Commit e5fddb4b authored by 吴春's avatar 吴春

提交代码

parent ad590c4d
......@@ -72,7 +72,8 @@ namespace Mall.WebApi
"http://mall.oytour.com",
"http://testmall.oytour.com",
"http://yx.oytour.com",
"https://mallapi.oytour.com"
"https://mallapi.oytour.com",
"http://edu.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