diff --git a/sage_validation/settings.py b/sage_validation/settings.py index 1cfee8b846033141d8984017ad8fbfc53e7546c2..c0da3d2879607f7af48bd7274339a3c1de700966 100644 --- a/sage_validation/settings.py +++ b/sage_validation/settings.py @@ -23,7 +23,7 @@ SECRET_KEY = os.getenv("SECRET_KEY") # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS: list[str] = [] +ALLOWED_HOSTS: list[str] = os.getenv("ALLOWED_HOSTS", "").split(",") # Application definition INSTALLED_APPS = [