fix(pwa): use PNG manifest icons
This commit is contained in:
1 parent
d27fb5127c
commit
ee8fa32aca
5 files changed
+14
-6
No files matched your search
+1
-1
@@ -36,7 +36,7 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Isal.in" />
|
||||
<link rel="apple-touch-icon" href="/favicon.svg?v=6" />
|
||||
<link rel="apple-touch-icon" href="/icon-192.png" />
|
||||
|
||||
<!-- Structured Data for Search Engines (JSON-LD) -->
|
||||
<script type="application/ld+json">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
+10
-4
@@ -12,10 +12,16 @@
|
||||
"categories": ["utilities", "productivity", "developer tools"],
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon.svg?v=6",
|
||||
"sizes": "48x48 72x72 96x96 128x128 192x192 256x256 512x512",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
"src": "/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
}
|
||||
]
|
||||
}
|
||||
+3
-1
@@ -1,9 +1,11 @@
|
||||
const CACHE_NAME = 'mc-cache-v6';
|
||||
const CACHE_NAME = 'mc-cache-v7';
|
||||
const PRECACHE_ASSETS = [
|
||||
'/',
|
||||
'/index.html',
|
||||
'/manifest.json',
|
||||
'/favicon.svg',
|
||||
'/icon-192.png',
|
||||
'/icon-512.png',
|
||||
];
|
||||
|
||||
// Domains that should NEVER be cached or block offline usage (e.g. ad networks)
|
||||
|
||||
Reference in new issue
Block a user