diff --git a/lib/api/legacy-routes.cjs b/lib/api/legacy-routes.cjs index 912a20e0..5fe5664b 100644 --- a/lib/api/legacy-routes.cjs +++ b/lib/api/legacy-routes.cjs @@ -243,7 +243,7 @@ app.post( try { // Async Call to ID-Fix if (API_IDFIX_URL) { - fetch(`${API_IDFIX_URL}/district/cog/${codeCommune}/`, { + fetch(`${API_IDFIX_URL}/compute-from-cog/${codeCommune}`, { method: 'GET', headers: { 'content-Type': 'application/json',