Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjetilhau committed Oct 1, 2024
1 parent 642e2e7 commit cc45b27
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
// CORS setup
builder.Services.AddCors(options =>
options.AddDefaultPolicy(corsPolicyBuilder =>
corsPolicyBuilder.AllowAnyOrigin()
corsPolicyBuilder
.AllowAnyOrigin()
.AllowAnyHeader()
.AllowAnyMethod()));

Expand Down

0 comments on commit cc45b27

Please sign in to comment.