From c3d86c61341d9a1e8ed2733b66d4ea48aad2daf8 Mon Sep 17 00:00:00 2001 From: Samuel Zielke Date: Sun, 23 Mar 2025 13:19:11 +0100 Subject: [PATCH] =?UTF-8?q?Edit=20Settings=20f=C3=BCr=20Domains?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crewpulse/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crewpulse/settings.py b/crewpulse/settings.py index 215bf80..7b9fd14 100644 --- a/crewpulse/settings.py +++ b/crewpulse/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-0$kqaql9qn*^##h(7l^ic$nf^lyc^#8#hcpk(_3l8h!%r+er3a # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["10.0.4.181", "cp.samuelzielke.de", "127.0.0.1", "localhost"] # Application definition @@ -124,6 +124,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.1/howto/static-files/ STATIC_URL = 'static/' +STATIC_ROOT = '/var/www/crewpulse/static/' # Default primary key field type # https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field