From 765379b8abe330f424a62c3ba47e517edb72f95d Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Tue, 14 Nov 2023 01:57:28 +0900 Subject: [PATCH] chore: Add CSRF trusted origins --- config/settings/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/product.py b/config/settings/product.py index 62348f8..c2a3ecf 100644 --- a/config/settings/product.py +++ b/config/settings/product.py @@ -5,7 +5,7 @@ from .base import * DEBUG = False ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ") - +CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ") CORS_ALLOW_CREDENTIALS = True CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS").split(" ")