From be53c370695870565c2c5b4d59498709afbf5f97 Mon Sep 17 00:00:00 2001 From: Christian Meter Date: Thu, 22 Aug 2024 13:55:51 +0200 Subject: [PATCH] Fix fallback --- mathefragen/settings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathefragen/settings/__init__.py b/mathefragen/settings/__init__.py index 4895a93..b662063 100755 --- a/mathefragen/settings/__init__.py +++ b/mathefragen/settings/__init__.py @@ -40,7 +40,7 @@ SITE_NAME = DOMAIN -ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default='localhost,127.0.0.1') +ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['localhost', '127.0.0.1']) CSRF_TRUSTED_ORIGINS = env.list('CSRF_TRUSTED_ORIGINS', default=["http://localhost", "http://127.0.0.1"]) SECURE_REFERRER_POLICY = "origin"