From d27b575887618048af46ee521c328d39c9baab4e Mon Sep 17 00:00:00 2001 From: ldeluigi <44567586+ldeluigi@users.noreply.github.com> Date: Mon, 15 May 2023 17:10:17 +0200 Subject: [PATCH] Update production settings (allowed hosts) --- backend/backend/production_settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/backend/production_settings.py b/backend/backend/production_settings.py index 859369e4..65a2e0a8 100644 --- a/backend/backend/production_settings.py +++ b/backend/backend/production_settings.py @@ -14,11 +14,10 @@ DEBUG = False # Security settings -ALLOWED_HOSTS = ['*'] +ALLOWED_HOSTS = ['.commanderspellbook.com'] CSRF_TRUSTED_ORIGINS = [ 'https://commanderspellbook.com', 'http://localhost', - 'https://backend.commanderspellbook.com', ] SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')