diff options
| author | Max Bringemo <maxbr167@student.liu.se> | 2020-12-03 21:22:32 +0100 |
|---|---|---|
| committer | Max Bringemo <maxbr167@student.liu.se> | 2020-12-03 21:22:32 +0100 |
| commit | f514c5fc686568f6a3a17ee6874c0a6973cd2a54 (patch) | |
| tree | b8e10fc99b98086434c665b58af584b0dae01dd0 | |
| parent | 10e3d6874745283b545d3b8029a3e5e184932c5d (diff) | |
| download | tdde25-f514c5fc686568f6a3a17ee6874c0a6973cd2a54.tar.gz | |
added function show favicon
| -rw-r--r-- | templates/index.js | 7 |
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() |
