diff --git a/SciPost_v1/settings.py b/SciPost_v1/settings.py index 7d636f1353b98e25cda11493c1ca90f86d821242..a518a9a79c2ba95f1ccae50d33a7810562d83020 100644 --- a/SciPost_v1/settings.py +++ b/SciPost_v1/settings.py @@ -29,7 +29,7 @@ SECRET_KEY = host_settings["SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = host_settings["DEBUG"] -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = host_settings["ALLOWED_HOSTS"] # Secure proxy SSL header and secure cookies SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')