From 610e43b39987172e38e0b8b7de869ac5ecc68cad Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 5 Jan 2025 21:29:06 +0000 Subject: Switched to prod settings for staging --- config/settings/production.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config/settings') diff --git a/config/settings/production.py b/config/settings/production.py index b2c90b9..bac2fa5 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -9,7 +9,13 @@ from .base import env # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env("DJANGO_SECRET_KEY") # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts -ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["alphabetlearning.online"]) +# ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["alphabetlearning.online"]) +ALLOWED_HOSTS = [ + "alphabetlearning.online", + "www.alphabetlearning.online", + "staging.alphabetlearning.online", + "www.staging.alphabetlearning.online", +] # DATABASES # ------------------------------------------------------------------------------ -- cgit v1.2.3