add allowad hosts

This commit is contained in:
TDLaouer 2025-07-13 18:21:01 +02:00
parent a76455d5ad
commit 7295019fad

View File

@ -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",