Trusted origin should include schema
This commit is contained in:
parent
aa8761eeb7
commit
5be536274f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ DATABASES = {'default': dj_database_url.config(default=os.environ["DATABASE_URL"
|
|||
|
||||
DEBUG = True # TODO set back to False
|
||||
ALLOWED_HOSTS = ["api.mwmbl.org", "mwmbl.org", "beta.mwmbl.org"]
|
||||
CSRF_TRUSTED_ORIGINS = list(ALLOWED_HOSTS)
|
||||
CSRF_TRUSTED_ORIGINS = [f"https://{domain}" for domain in ALLOWED_HOSTS]
|
||||
|
||||
|
||||
DATA_PATH = "/app/storage"
|
||||
|
|
Loading…
Add table
Reference in a new issue