Compare commits

...

3 Commits

Author SHA1 Message Date
Трошин Антон Валерьевич 9e360479ae png icon to fix small icon issue on android 2026-07-12 22:11:22 +03:00
Трошин Антон Валерьевич 818d4a3857 png icon to fix small icon issue on android 2026-07-12 22:10:45 +03:00
Трошин Антон Валерьевич e8a8682e27 png icon to fix small icon issue on android 2026-07-12 22:10:26 +03:00
5 changed files with 17 additions and 4 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+3 -3
View File
@@ -10,7 +10,7 @@
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<link rel="icon" type="image/svg+xml" href="icon.svg"> <link rel="icon" type="image/svg+xml" href="icon.svg">
<link rel="apple-touch-icon" href="icon-192.png"> <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> </head>
<body> <body>
<div id="app"> <div id="app">
@@ -158,10 +158,10 @@
</div> </div>
<script type="module" src="app.js?v=13"></script> <script type="module" src="app.js?v=14"></script>
<script> <script>
if ('serviceWorker' in navigator) { if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js?v=13').catch(() => {}); navigator.serviceWorker.register('/sw.js?v=14').catch(() => {});
} }
</script> </script>
</body> </body>
+11
View File
@@ -12,6 +12,17 @@
"src": "icon.svg", "src": "icon.svg",
"sizes": "any", "sizes": "any",
"type": "image/svg+xml" "type": "image/svg+xml"
},
{
"src": "icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
} }
] ]
} }
+3 -1
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = 'numnum-v13'; const CACHE_NAME = 'numnum-v14';
const ASSETS = [ const ASSETS = [
'/', '/',
'/index.html', '/index.html',
@@ -7,6 +7,8 @@ const ASSETS = [
'/numerals.js', '/numerals.js',
'/manifest.json', '/manifest.json',
'/icon.svg', '/icon.svg',
'/icon-192.png',
'/icon-512.png',
]; ];
self.addEventListener('install', (e) => { self.addEventListener('install', (e) => {