diff --git a/Dockerfile b/Dockerfile index 2abfaf7..e725fb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ COPY admin.js /app/public/ COPY services.json /app/public/ COPY manifest.webmanifest /app/public/ COPY sw.js /app/public/ +COPY favicon.ico /app/public/ COPY icons/ /app/public/icons/ ENV NODE_ENV=production diff --git a/admin.html b/admin.html index f1434b8..c905f16 100644 --- a/admin.html +++ b/admin.html @@ -6,6 +6,12 @@ MischLabs Admin + + + + + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..61e894c Binary files /dev/null and b/favicon.ico differ diff --git a/icons/apple-touch-icon-v4.png b/icons/apple-touch-icon-v4.png new file mode 100644 index 0000000..4e92edf Binary files /dev/null and b/icons/apple-touch-icon-v4.png differ diff --git a/icons/favicon-192-v4.png b/icons/favicon-192-v4.png new file mode 100644 index 0000000..b659f56 Binary files /dev/null and b/icons/favicon-192-v4.png differ diff --git a/icons/favicon-32-v4.png b/icons/favicon-32-v4.png new file mode 100644 index 0000000..e148096 Binary files /dev/null and b/icons/favicon-32-v4.png differ diff --git a/icons/favicon-48-v4.png b/icons/favicon-48-v4.png new file mode 100644 index 0000000..74290ad Binary files /dev/null and b/icons/favicon-48-v4.png differ diff --git a/icons/favicon-512-v4.png b/icons/favicon-512-v4.png new file mode 100644 index 0000000..5e5ac9f Binary files /dev/null and b/icons/favicon-512-v4.png differ diff --git a/icons/maskable-512-v4.png b/icons/maskable-512-v4.png new file mode 100644 index 0000000..5e5ac9f Binary files /dev/null and b/icons/maskable-512-v4.png differ diff --git a/index.html b/index.html index 4aeae7e..cee9185 100644 --- a/index.html +++ b/index.html @@ -9,10 +9,12 @@ - - - - + + + + + + diff --git a/manifest.webmanifest b/manifest.webmanifest index 7cdc0a6..1430d3e 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -12,19 +12,19 @@ "categories": ["productivity", "utilities"], "icons": [ { - "src": "/icons/icon-192.png?v=2", + "src": "/icons/favicon-192-v4.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, { - "src": "/icons/icon-512.png?v=2", + "src": "/icons/favicon-512-v4.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }, { - "src": "/icons/maskable-512.png?v=2", + "src": "/icons/maskable-512-v4.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" diff --git a/offline.html b/offline.html index 3dfd458..a6c6323 100644 --- a/offline.html +++ b/offline.html @@ -5,6 +5,12 @@ MischLabs - Offline + + + + + + diff --git a/sw.js b/sw.js index c94ea93..38546b5 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -const CACHE_NAME = 'mischlabs-pwa-v12'; +const CACHE_NAME = 'mischlabs-pwa-v13'; const APP_SHELL = [ '/', '/index.html', @@ -6,10 +6,13 @@ const APP_SHELL = [ '/style.css?v=27', '/app.js?v=30', '/services.json?v=1', - '/manifest.webmanifest?v=3', - '/icons/icon-192.png', - '/icons/icon-512.png', - '/icons/apple-touch-icon-v2.png' + '/manifest.webmanifest?v=4', + '/favicon.ico?v=4', + '/icons/favicon-32-v4.png', + '/icons/favicon-192-v4.png', + '/icons/favicon-512-v4.png', + '/icons/apple-touch-icon-v4.png', + '/icons/maskable-512-v4.png' ]; self.addEventListener('install', (event) => {