From ded109e3c180d4b59622979d12cbcce69ca99112 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Tue, 11 Jul 2023 16:35:56 +0200 Subject: [PATCH] fix: Nouvelle API temps d'attente fix #44 --- gravity/js/canvas.js | 2 +- jumpers/js/sketch.js | 2 +- orbit/js/orbit.js | 4 ++-- orbit/orbit.min.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gravity/js/canvas.js b/gravity/js/canvas.js index c6b910e..29edfb6 100644 --- a/gravity/js/canvas.js +++ b/gravity/js/canvas.js @@ -1,4 +1,4 @@ -let url = "http://localhost:8081/temps-attente/agences/noumea"; +let url = "http://localhost:8081/agences?commune=noumea"; let data; let fps = 0; diff --git a/jumpers/js/sketch.js b/jumpers/js/sketch.js index 71853ac..5a073e1 100644 --- a/jumpers/js/sketch.js +++ b/jumpers/js/sketch.js @@ -1,4 +1,4 @@ -let url = "http://localhost:8081/temps-attente/agences/"; // API URL +let url = "http://localhost:8081/agences?commune="; // API URL let data = []; let communes = []; // DATA ARRAY let communeId = 0; diff --git a/orbit/js/orbit.js b/orbit/js/orbit.js index 7d5ea79..a42a847 100644 --- a/orbit/js/orbit.js +++ b/orbit/js/orbit.js @@ -1,6 +1,6 @@ let data; -//let url = "http://localhost:8081/temps-attente/agences/"; -let url = "http://localhost:8081/temps-attente/agences/noumea"; +//let url = "http://localhost:8081/agences/"; +let url = "http://localhost:8081/agences?commune=noumea"; let fps = 0; let fpsHistory = []; diff --git a/orbit/orbit.min.html b/orbit/orbit.min.html index a889f02..498ab46 100644 --- a/orbit/orbit.min.html +++ b/orbit/orbit.min.html @@ -11,8 +11,8 @@