chore: Add CSRF trusted origins

This commit is contained in:
jhynsoo 2023-11-14 01:57:28 +09:00
parent 7a5a61f609
commit 765379b8ab

View File

@ -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(" ")