diff --git a/dienst2/settings.py b/dienst2/settings.py index 2df95b7..bed8a56 100644 --- a/dienst2/settings.py +++ b/dienst2/settings.py @@ -13,7 +13,7 @@ ADMINS = getaddresses([env("DJANGO_ADMINS", default="")]) MANAGERS = ADMINS -ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default="*").split(",") +ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default=["*"]) INTERNAL_IPS = env.list("INTERNAL_IPS", default="") SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")