aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-08-22 21:36:03 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-08-22 21:40:47 +0200
commitfeb299c50ac5f7d5392d1a8d3f853a313739dc78 (patch)
tree5c0b17dd4be4c305dfc28bdd74df0bc38742e870
parentd24fc0472883cfdc3842fbacba9d084a7198ba43 (diff)
downloadhesla-master.tar.gz
fix: use manifest.json with correct values instead of site.webmanifestHEADmaster
-rw-r--r--Makefile2
-rw-r--r--site.webmanifest1
-rw-r--r--sworker.js4
-rw-r--r--templates/base.html2
4 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9d082a9..971acb6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
FILES=hesla.js hesla.js.map config.js config.js.map \
activePage.js activePage.js.map favicon-*.png a*.png lamb-of-God.svg sworker.js \
- index_de.html index.html screen.css site.webmanifest favicon.ico \
+ index_de.html index.html screen.css manifest.json favicon.ico \
google9815148f4ac1407f.html config.ts hesla.ts activePage.ts
%.js: %.ts
diff --git a/site.webmanifest b/site.webmanifest
deleted file mode 100644
index 45dc8a2..0000000
--- a/site.webmanifest
+++ /dev/null
@@ -1 +0,0 @@
-{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file
diff --git a/sworker.js b/sworker.js
index bcb8541..68ba332 100644
--- a/sworker.js
+++ b/sworker.js
@@ -1,4 +1,4 @@
-var VERSION = 'v67 - 2024-04-21';
+var VERSION = 'v68 - 2024-08-22';
var toCache = [
'/',
'activePage.js',
@@ -18,7 +18,7 @@ var toCache = [
'index_de.html',
'index.html',
'screen.css',
- 'site.webmanifest'
+ 'manifest.json'
];
self.addEventListener('install', event => {
diff --git a/templates/base.html b/templates/base.html
index a3b2091..b6d26ca 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -20,7 +20,7 @@
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
+ <link rel="manifest" href="/manifest.json">
<title>{{ title }}</title>
<script src="config.js" type="module" defer></script>
<style>