In Configure in Startup.cs:
app.UseCors(builder => builder.AllowAnyOrigin().WithMethods("GET", "HEAD", "POST", "DEBUG", "PUT", "DELETE", "PATCH", "OPTIONS").AllowAnyHeader());
No comments:
Post a Comment