Commit 5942ea76 authored by 罗超's avatar 罗超

修改域名扩充

parent 8859e844
......@@ -74,6 +74,7 @@ namespace Edu.WebApi
"http://eduapi.oytour.com",
"http://mobile.kookaku.com",
"http://m.kookaku.com",
"http://lm.oytour.com",
};
services.AddCors(options => options.AddPolicy("AllowCors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().WithOrigins(corsArray.ToArray())));
services.Configure<IISServerOptions>(options => options.AllowSynchronousIO = true);
......
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