From a340154cd971dbc93e1dde39ba1e52a3ca85c264 Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 18 Nov 2023 19:57:32 +0100 Subject: [PATCH] add public domain to ALLOWED_HOSTS --- core/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core/settings.py b/core/core/settings.py index 5417c43..fc7a722 100644 --- a/core/core/settings.py +++ b/core/core/settings.py @@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure-tm*$w_14iqbiy-!7(8#ba7j+_@(7@rf2&a^!=shs&$03b%2*rv # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [os.getenv('HTTP_HOST', 'localhost')] SYSTEM3_VERSION = "0.0.0-dev.0"