Skip to content

Commit

Permalink
fix: backend ALLOWED_HOSTS parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
nimish-ks committed Nov 24, 2024
1 parent f8846e3 commit f997f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit f997f52

Please sign in to comment.