fix annerie dans geoLoc

This commit is contained in:
root - traque 2024-06-23 16:05:51 +02:00
parent 6d69db41fb
commit 1706f2ac78

View file

@ -138,7 +138,7 @@ function setup_geoLoc(){
const requestOptions = { method: 'PUT' }; const requestOptions = { method: 'PUT' };
function geoLoc_success(pos) { 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) { function geoLoc_error(err) {