From e2e7eeba7bf85cd703cc2f4d54809d32a0c3e1e6 Mon Sep 17 00:00:00 2001 From: Adrien Vannson Date: Tue, 12 Oct 2021 16:56:41 +0200 Subject: [PATCH] Update URL of the API --- resources/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/script.js b/resources/script.js index 56cfa76..7f8757a 100644 --- a/resources/script.js +++ b/resources/script.js @@ -40,7 +40,7 @@ function initSvgSupport() window.clearTimeout(document.wnsTimeout); document.wnsTimeout = window.setTimeout(putWaitNetworkScreen, 400); - httpGetAsync("https://perso.ens-lyon.fr/samy.avrillon/gpens/api/salles.php?salle="+e.target.id.substring("path-salle-".length), function (s,errcode){ + httpGetAsync("api/salles.php?salle="+e.target.id.substring("path-salle-".length), function (s,errcode){ window.clearTimeout(document.wnsTimeout); try{ if (s=="404") {