Stuff
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2022-01-16 12:42:39 +01:00
parent 14e203e821
commit 8f6ed84ee0
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,9 @@
function update() {
fetch('/json')
.then(response => response.json())
.then(data => console.log(data));
.then(data => {
map.setView([data["lat"], data["lon"]], 13);
});
}
update()
</script>