[backend/masto-client] Add Idempotency-Key to allowed CORS headers
This commit is contained in:
parent
f83273c150
commit
5e91bed599
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ public static class ServiceExtensions
|
||||||
options.AddPolicy("mastodon", policy =>
|
options.AddPolicy("mastodon", policy =>
|
||||||
{
|
{
|
||||||
policy.WithOrigins("*")
|
policy.WithOrigins("*")
|
||||||
.WithHeaders("Authorization", "Content-Type")
|
.WithHeaders("Authorization", "Content-Type", "Idempotency-Key")
|
||||||
.WithExposedHeaders("Link", "Connection", "Sec-Websocket-Accept", "Upgrade");
|
.WithExposedHeaders("Link", "Connection", "Sec-Websocket-Accept", "Upgrade");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue