From 5c9392abcde6ace174b2f5deb2c56d4cbe10479a Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Tue, 12 Nov 2019 19:35:14 +0100 Subject: [PATCH] fix manifest, hardcode hash --- src/img/favicon/manifest.json | 6 +++--- src/sw.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/img/favicon/manifest.json b/src/img/favicon/manifest.json index ffb37a8..c1f1c6d 100644 --- a/src/img/favicon/manifest.json +++ b/src/img/favicon/manifest.json @@ -3,12 +3,12 @@ "name": "Meritkollen", "icons": [ { - "src": "android-chrome-192x192.png", + "src": "/img/favicon/android-chrome-192x192.png?v=34eb8d", "sizes": "192x192", "type": "image/png" }, { - "src": "android-chrome-512x512.png", + "src": "/img/favicon/android-chrome-512x512.png?v=cfeaa1", "sizes": "512x512", "type": "image/png" } @@ -17,4 +17,4 @@ "background_color": "#ffffff", "start_url": "https://meritkollen.se", "display": "fullscreen" -} \ No newline at end of file +} diff --git a/src/sw.js b/src/sw.js index be1cf2b..d737b79 100644 --- a/src/sw.js +++ b/src/sw.js @@ -19,6 +19,7 @@ self.addEventListener('install', function(e) { '/img/background85.webp', '/img/favicon/manifest.json', '/img/favicon/android-chrome-192x192.png', + '/img/favicon/android-chrome-512x512.png', '/img/favicon/favicon-32x32.png', '/img/favicon/favicon-16x16.png', '/img/favicon/favicon.ico',