summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/index.js b/templates/index.js
index 0bbcdbe..01e3880 100644
--- a/templates/index.js
+++ b/templates/index.js
@@ -61,7 +61,6 @@ async function showMarkers() {
showMarkers()
async function showUnconnectedMarkers() {
- res = await fetch('/show-unconnected-nodes');
const res = await fetch('/show-unconnected-nodes').then(res => res.json());
for (let key in res) {
var marker = L.marker(res[key]).addTo(map)