changement IP CORS

This commit is contained in:
2024-02-13 16:07:00 +01:00
parent 5beded02c5
commit 5d264cdb06

View File

@@ -135,10 +135,9 @@ MIDDLEWARE = [
] ]
CORS_ALLOWED_ORIGINS = [ CORS_ALLOWED_ORIGINS = [
"http://33.144.144.6:5173", # Ajoutez ici l'URL de votre application frontend , "http://33.144.144.13:5173", # Ajoutez ici l'URL de votre application frontend ,
] ]
if cfg_dev_mode:
CORS_ALLOWED_ORIGINS.append("https://33.144.144.13:5173")