diff --git a/static/manifest.json b/static/manifest.json index 16ad1aa..3b188cc 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -13,8 +13,8 @@ "theme_color": "#1f252d", "orientation": "any", "icons": [ - {"src": "/static/media-mark-192.svg", "sizes": "192x192", "type": "image/svg+xml", "purpose": "any"}, - {"src": "/static/media-mark-512.svg", "sizes": "512x512", "type": "image/svg+xml", "purpose": "any"}, - {"src": "/static/media-mark-512.svg", "sizes": "512x512", "type": "image/svg+xml", "purpose": "maskable"} + {"src": "/static/media-mark-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any"}, + {"src": "/static/media-mark-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any"}, + {"src": "/static/media-mark-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable"} ] } diff --git a/static/media-mark-192.png b/static/media-mark-192.png new file mode 100644 index 0000000..e4bcca2 Binary files /dev/null and b/static/media-mark-192.png differ diff --git a/static/media-mark-512.png b/static/media-mark-512.png new file mode 100644 index 0000000..5069a8d Binary files /dev/null and b/static/media-mark-512.png differ diff --git a/static/sw.js b/static/sw.js index ff6a205..b34e762 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,5 +1,5 @@ const CACHE_NAME = 'media-max-shell-v5'; -const SHELL = ['/static/media-mark.svg', '/static/media-mark-192.svg', '/static/media-mark-512.svg', '/static/manifest.json']; +const SHELL = ['/static/media-mark.svg', '/static/media-mark-192.png', '/static/media-mark-512.png', '/static/manifest.json']; self.addEventListener('install', event => { event.waitUntil(caches.open(CACHE_NAME).then(cache => cache.addAll(SHELL))); diff --git a/templates/index.html b/templates/index.html index c486d6d..9bfd64f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -35,7 +35,7 @@ if ('serviceWorker' in navigator) { -Media Max +Media Max