Commit e17dda3f authored by 吴春's avatar 吴春

提交代码

parent 4bbf71bf
......@@ -58,7 +58,8 @@ namespace Edu.WebApi
"http://www.kookaku.com",
"http://www.kookaku.cn",
"http://kookaku.com",
"https://mallapi.oytour.com"
"https://mallapi.oytour.com",
"https://mall.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