changement IP CORS
This commit is contained in:
@@ -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")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user