From f83f8e07287f9061617402b2c9af292d7daffe69 Mon Sep 17 00:00:00 2001 From: Ashley Felton Date: Fri, 28 Jul 2023 15:22:52 +0800 Subject: [PATCH] Settings ALLOWED_DOMAINS -> ALLOWED_HOSTS. --- wastd/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wastd/settings.py b/wastd/settings.py index 5e6a44e10..f0a702060 100644 --- a/wastd/settings.py +++ b/wastd/settings.py @@ -12,7 +12,7 @@ DEBUG = os.environ.get("DEBUG", False) == "True" SECRET_KEY = os.environ.get("SECRET_KEY", "PlaceholderSecretKey") if not DEBUG: - ALLOWED_HOSTS = os.environ.get("ALLOWED_DOMAINS", "").split(",") + ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS", "").split(",") else: ALLOWED_HOSTS = ["*"] INTERNAL_IPS = ["127.0.0.1", "::1"]