From f997f52b621bc0429a10bcd91db730f357c259c3 Mon Sep 17 00:00:00 2001 From: Nimish Date: Sun, 24 Nov 2024 14:54:39 +0530 Subject: [PATCH] fix: backend ALLOWED_HOSTS parsing --- backend/backend/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 2b10c78f7..5cbac7006 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -63,7 +63,7 @@ def get_version(): # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True if os.getenv("DEBUG") == "True" else False -ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", []).split(",") +ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "").split(",") SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"