Skip to content

Commit

Permalink
bugfix: CORS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiwen committed Apr 25, 2020
1 parent 8b122cd commit eac65ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dl-api-csharp/Doublelives.Api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public void ConfigureServices(IServiceCollection services)
builder.AllowAnyMethod()
.AllowAnyHeader()
.AllowCredentials()
.SetPreflightMaxAge(TimeSpan.FromSeconds(1728000))
.WithOrigins(Configuration["cors:httpOrigin"], Configuration["cors:httpsOrigin"]);
}));

Expand Down

0 comments on commit eac65ae

Please sign in to comment.