diff --git a/env_secrets/production_azure.env b/env_secrets/production_azure.env index 0dbdb542..ab2085fa 100644 Binary files a/env_secrets/production_azure.env and b/env_secrets/production_azure.env differ diff --git a/server/config/settings/base.py b/server/config/settings/base.py index 4648133e..78abed47 100644 --- a/server/config/settings/base.py +++ b/server/config/settings/base.py @@ -521,14 +521,8 @@ else: SECRET_KEY = env("IT_DJANGO_SECRET_KEY") # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts -ALLOWED_HOSTS = ['*'] -print("*"*100) -print(ALLOWED_HOSTS) -print("*"*100) -env.list( - "IT_DJANGO_ALLOWED_HOSTS", default=["localhost", "0.0.0.0", "127.0.0.1"] -) +ALLOWED_HOSTS = env.list("IT_DJANGO_ALLOWED_HOSTS", default=["localhost", "0.0.0.0", "127.0.0.1"]) # CACHES CACHES = {