diff options
author | Matthew Lemon <y@yulqen.org> | 2025-01-05 21:29:06 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2025-01-05 21:29:06 +0000 |
commit | 610e43b39987172e38e0b8b7de869ac5ecc68cad (patch) | |
tree | 24d5a19dee783fd2871f41e53505fe1b1e0dafeb /config/settings | |
parent | 1b08e7c8e35f1be532b5dca377f83662c21943a1 (diff) |
Switched to prod settings for staging
Diffstat (limited to 'config/settings')
-rw-r--r-- | config/settings/production.py | 8 |
1 files changed, 7 insertions, 1 deletions
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 # ------------------------------------------------------------------------------ |