Stuff
All checks were successful
continuous-integration/drone/push Build is passing

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

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>