From 5d264cdb065c5d72730e0edeffa982b813bf2b8d Mon Sep 17 00:00:00 2001 From: Kirosbr Date: Tue, 13 Feb 2024 16:07:00 +0100 Subject: [PATCH] changement IP CORS --- Reskreen/settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Reskreen/settings.py b/Reskreen/settings.py index 80fcf24..b4b8c53 100644 --- a/Reskreen/settings.py +++ b/Reskreen/settings.py @@ -135,10 +135,9 @@ MIDDLEWARE = [ ] 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") +