From f514c5fc686568f6a3a17ee6874c0a6973cd2a54 Mon Sep 17 00:00:00 2001 From: Max Bringemo Date: Thu, 3 Dec 2020 21:22:32 +0100 Subject: added function show favicon --- templates/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/index.js b/templates/index.js index b7b3b58..3a1ef8f 100644 --- a/templates/index.js +++ b/templates/index.js @@ -61,3 +61,10 @@ async function showMarkers() { } showMarkers() + +async function showFavicon() { + res = await fetch('/favicon.ico'); + res = await res.json(); +} + +showFavicon() -- cgit v1.2.1