diff --git a/Reskreen/settings.py b/Reskreen/settings.py index 8b5e55d..6a0ebae 100644 --- a/Reskreen/settings.py +++ b/Reskreen/settings.py @@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/4.0/ref/settings/ """ from pathlib import Path +from Reskreen.server_config import * # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -25,7 +26,7 @@ SECRET_KEY = 'django-insecure-j4jd&+4j^t_=@zr(#q@n!8e*58vkql6&_6w-t14ju8pw%ei%^s # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -cfg_dev_mode = False + ALLOWED_HOSTS = ["rh.ambulance-clerc.ch"] if cfg_dev_mode: