mirror of
https://github.com/danbulant/Mangades
synced 2026-06-19 14:21:23 +00:00
add trace headers to allowed headers
This commit is contained in:
parent
9707229b2b
commit
c9e171f3d2
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ export async function GET({ url }) {
|
|||
...ret.headers,
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, HEAD, OPTIONS',
|
||||
'Access-Control-Allow-Headers': 'Content-Type, Accept, X-Requested-With, sentry-trace, baggage',
|
||||
'Access-Control-Allow-Headers': 'Content-Type, Accept, X-Requested-With, sentry-trace, baggage, traceparent, tracestate',
|
||||
'Access-Control-Max-Age': '86400',
|
||||
|
||||
'Content-Type': ret.headers.get('Content-Type')!,
|
||||
|
|
|
|||
Loading…
Reference in a new issue