fix annerie dans geoLoc
This commit is contained in:
parent
6d69db41fb
commit
1706f2ac78
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue