chore: Add CSRF trusted origins
This commit is contained in:
parent
7a5a61f609
commit
765379b8ab
@ -5,7 +5,7 @@ from .base import *
|
|||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ")
|
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ")
|
||||||
|
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
|
||||||
|
|
||||||
CORS_ALLOW_CREDENTIALS = True
|
CORS_ALLOW_CREDENTIALS = True
|
||||||
CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS").split(" ")
|
CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS").split(" ")
|
||||||
|
Loading…
Reference in New Issue
Block a user