From 054fb8dade6c2a72a4133f710d04ddc6ed3f874e Mon Sep 17 00:00:00 2001 From: Tom Irgang Date: Mon, 17 Apr 2023 21:48:32 +0200 Subject: [PATCH] add allowed hosts --- rc_hip/rc_hip/settings.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rc_hip/rc_hip/settings.py b/rc_hip/rc_hip/settings.py index 93c2f90..c3bd9df 100644 --- a/rc_hip/rc_hip/settings.py +++ b/rc_hip/rc_hip/settings.py @@ -32,8 +32,11 @@ SECRET_KEY = os.environ.get( # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.getenv("DJANGO_DEBUG", 'true').lower() in ('true', '1', 't') -ALLOWED_HOSTS = [] - +ALLOWED_HOSTS = [ + '127.0.0.1', + 'localhost', + 'repapp.rc-hip.de' +] # Application definition