Skip to content

Commit 1e7b064

Browse files
hauxirclaude
andcommitted
Allow X-Rollbar-Access-Token header in CORS preflight response
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 554500a commit 1e7b064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def add_cors_headers(response):
1515
response.headers["Access-Control-Allow-Origin"] = "*"
1616
response.headers["Access-Control-Allow-Methods"] = "POST, OPTIONS"
17-
response.headers["Access-Control-Allow-Headers"] = "Content-Type"
17+
response.headers["Access-Control-Allow-Headers"] = "Content-Type, X-Rollbar-Access-Token"
1818
return response
1919

2020

0 commit comments

Comments
 (0)