diff --git a/config/settings/product.py b/config/settings/product.py index be2eaa6..62348f8 100644 --- a/config/settings/product.py +++ b/config/settings/product.py @@ -7,6 +7,9 @@ DEBUG = False ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ") +CORS_ALLOW_CREDENTIALS = True +CORS_ALLOWED_ORIGINS = os.environ.get("CORS_ALLOWED_ORIGINS").split(" ") + # Database # https://docs.djangoproject.com/en/4.1/ref/settings/#databases