png icon to fix small icon issue on android

This commit is contained in:
Трошин Антон Валерьевич
2026-07-12 22:10:45 +03:00
parent e8a8682e27
commit 818d4a3857
2 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/svg+xml" href="icon.svg">
<link rel="apple-touch-icon" href="icon-192.png">
<link rel="stylesheet" href="styles.css?v=13">
<link rel="stylesheet" href="styles.css?v=14">
</head>
<body>
<div id="app">
@@ -158,10 +158,10 @@
</div>
<script type="module" src="app.js?v=13"></script>
<script type="module" src="app.js?v=14"></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js?v=13').catch(() => {});
navigator.serviceWorker.register('/sw.js?v=14').catch(() => {});
}
</script>
</body>
+3 -1
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = 'numnum-v13';
const CACHE_NAME = 'numnum-v14';
const ASSETS = [
'/',
'/index.html',
@@ -7,6 +7,8 @@ const ASSETS = [
'/numerals.js',
'/manifest.json',
'/icon.svg',
'/icon-192.png',
'/icon-512.png',
];
self.addEventListener('install', (e) => {