fix(pwa): version icon filenames to -v3 and bust iOS Safari WebClip cache
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 593 B |
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
@@ -11,31 +11,31 @@
|
||||
"theme_color": "#090A0F",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/family/mila-icon-192.png",
|
||||
"src": "/family/mila-icon-192-v3.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/family/mila-icon-192.png",
|
||||
"src": "/family/mila-icon-192-v3.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/family/mila-icon-512.png",
|
||||
"src": "/family/mila-icon-512-v3.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/family/mila-icon-512.png",
|
||||
"src": "/family/mila-icon-512-v3.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/family/mila-apple-touch-icon.png",
|
||||
"src": "/family/mila-apple-touch-icon-v3.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Minimal service worker for Family PWAs (Mila & Moritz) with instant cache-bypassing navigation
|
||||
const CACHE_NAME = 'family-pwa-v2';
|
||||
const CACHE_NAME = 'family-pwa-v3';
|
||||
|
||||
self.addEventListener('install', (event) => {
|
||||
self.skipWaiting();
|
||||
|
||||
Reference in New Issue
Block a user