Skip to content

Commit

Permalink
update settings.py
Browse files Browse the repository at this point in the history
- Add allow custom headers
  • Loading branch information
sanchegm committed Dec 14, 2024
1 parent 77f85a5 commit 985f283
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"https://curation-test.clinicalgenome.org",
]

CORS_ALLOW_CREDENTIALS = True

CORS_ALLOW_HEADERS = [
"x-api-key",
]

CSRF_TRUSTED_ORIGINS = [
"https://affils.clinicalgenome.org",
"https://affils-test.clinicalgenome.org",
Expand Down

0 comments on commit 985f283

Please sign in to comment.