Add cache-busting queries to icon paths in the manifest

This commit is contained in:
fred.boniface committed 2026-11-24 23:58:08 +00:00
1 parent 9ee9071211
commit b90fdacfae
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
/>
<!-- PWA Requirements -->
<link rel="manifest" href="%sveltekit.assets%/manifest.json" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/icons/apple-touch-icon.png" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/icons/apple-touch-icon.png?v=3" />
<meta name="theme-color" content="#3c6f79" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
+4 -4
View File
@@ -22,19 +22,19 @@
"prefer_related_applications": false,
"icons": [
{
"src": "/icons/icon-192.png",
"src": "/icons/icon-192.png?v=3",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/icon-512.png",
"src": "/icons/icon-512.png?v=3",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icons/maskable-512.png",
"src": "/icons/maskable-512.png?v=3",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
@@ -48,7 +48,7 @@
"url": "/pis",
"icons": [
{
"src": "/icons/icon-192.png",
"src": "/icons/icon-192.png?v=3",
"sizes": "192x192",
"type": "image/png"
}