From 28d86d6bee0869ee00061bebdeffc7c682dec46b Mon Sep 17 00:00:00 2001 From: Cedric Date: Fri, 3 Jul 2026 15:13:35 +0200 Subject: [PATCH] Actualiser js/prediction.js --- js/prediction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/prediction.js b/js/prediction.js index 78dff09..031b1e5 100644 --- a/js/prediction.js +++ b/js/prediction.js @@ -1,4 +1,4 @@ -const API_BASE_URL = 'http://localhost/mon-petit-pari/api'; +const API_BASE_URL = window.location.origin + '/api'; let currentUser = null; let currentMatch = null;