Commit a455126a authored by 黄奎's avatar 黄奎

页面修改

parent b6af9ea4
......@@ -52,6 +52,10 @@ namespace Edu.WebApi
"http://testmall.oytour.com",
"http://yx.oytour.com",
"http://edu.oytour.com",
"http://jiahe.oytour.com",
"http://jiahe.oytour.com",
"http://www.kookaku.com",
"http://www.kookaku.cn"
};
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