Skip to content

Commit

Permalink
Allow CORS to expose custom Header (required for WASM) (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineatstariongroup authored Dec 18, 2023
1 parent f6399ea commit 1e4483e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CometServer/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void ConfigureServices(IServiceCollection services)
builder.AllowAnyOrigin();
builder.AllowAnyHeader();
builder.AllowAnyMethod();
builder.WithExposedHeaders("*");
});
});

Expand Down

0 comments on commit 1e4483e

Please sign in to comment.