mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(api): allow 'sentry-trace' header in CORS
This commit is contained in:
parent
8629e38edd
commit
6295a1a561
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ public class Startup
|
|||
app.UseMiddleware<AuthorizationTokenHandlerMiddleware>();
|
||||
|
||||
//app.UseHttpsRedirection();
|
||||
app.UseCors(opts => opts.AllowAnyMethod().AllowAnyOrigin().WithHeaders("Content-Type", "Authorization"));
|
||||
app.UseCors(opts => opts.AllowAnyMethod().AllowAnyOrigin().WithHeaders("Content-Type", "Authorization", "sentry-trace"));
|
||||
|
||||
app.UseRouting();
|
||||
app.UseAuthentication();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue