对预检请求的响应未通过访问控制检查:所请求的资源上不存在“ Access-Control-Allow-Origin”标头。响应的HTTP状态码为500。
In startup.auth.cs add the following code at the start of the ConfigureAuth method. You will need to install this Microsoft.Owin.Cors nuget package.
app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.