From c1bdd73335cd99204d458d24b042d3681f4b1434 Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 3 Jul 2026 15:13:22 +0200 Subject: [PATCH] Actualiser js/auth.js --- js/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/auth.js b/js/auth.js index 3cbcadd..86561c3 100644 --- a/js/auth.js +++ b/js/auth.js @@ -1,5 +1,5 @@ let API_BASE_URL; -API_BASE_URL = 'https://monpetitpari.fr/api'; +const API_BASE_URL = window.location.origin + '/api'; // Gestion du token