summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Bringemo <maxbr167@student.liu.se>2020-12-03 21:22:32 +0100
committerMax Bringemo <maxbr167@student.liu.se>2020-12-03 21:22:32 +0100
commitf514c5fc686568f6a3a17ee6874c0a6973cd2a54 (patch)
treeb8e10fc99b98086434c665b58af584b0dae01dd0
parent10e3d6874745283b545d3b8029a3e5e184932c5d (diff)
downloadtdde25-f514c5fc686568f6a3a17ee6874c0a6973cd2a54.tar.gz
added function show favicon
-rw-r--r--templates/index.js7
1 files changed, 7 insertions, 0 deletions
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()