From 7295019fad240ad19c21ca156e95f93eb9a052b0 Mon Sep 17 00:00:00 2001 From: TDLaouer Date: Sun, 13 Jul 2025 18:21:01 +0200 Subject: [PATCH] add allowad hosts --- sop/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sop/settings.py b/sop/settings.py index 9cca6ae..3d072a9 100644 --- a/sop/settings.py +++ b/sop/settings.py @@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = os.environ.get("SECRET_KEY") DEBUG = os.environ.get("DEBUG") == "True" -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [".sop.tdlaouer.fr", ".localhost"] CORS_ALLOWED_ORIGINS = [ "http://localhost:3000",