From 1706f2ac785c03976f410addbfb8c790bbe6e4d4 Mon Sep 17 00:00:00 2001 From: root - traque Date: Sun, 23 Jun 2024 16:05:51 +0200 Subject: [PATCH] fix annerie dans geoLoc --- static/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/utils.js b/static/utils.js index bc3ce7d..777f88b 100644 --- a/static/utils.js +++ b/static/utils.js @@ -138,7 +138,7 @@ function setup_geoLoc(){ const requestOptions = { method: 'PUT' }; function geoLoc_success(pos) { - fetch("/log/"+id+"/pos?lat="+pos.coords.latitude+"&long="+pos.coords.longitude, requestOptions); + fetch("/track/"+id+"/pos?lat="+pos.coords.latitude+"&long="+pos.coords.longitude, requestOptions); } function geoLoc_error(err) {