SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 8ca3ed71 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Move CORS_ALLOWED_ORIGINS to base settings

parent ef315f22
No related branches found
No related tags found
No related merge requests found
......@@ -466,3 +466,9 @@ MAILGUN_API_KEY = ''
# Get one at https://haveibeenpwned.com
HAVE_I_BEEN_PWNED_TOKEN = get_secret('HAVE_I_BEEN_PWNED_TOKEN')
HAVE_I_BEEN_PWNED_API_KEY = get_secret('HAVE_I_BEEN_PWNED_API_KEY')
# CORS headers
CORS_ALLOWED_ORIGINS = [
'https://scipost-codebases.org'
]
......@@ -72,9 +72,3 @@ sentry_sdk.init(
)
CSP_REPORT_URI = get_secret('CSP_SENTRY')
CSP_REPORT_ONLY = False
# CORS headers
CORS_ALLOWED_ORIGINS = [
'https://scipost-codebases.org'
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment