diff --git a/index.html b/index.html index c6800a8..a68588a 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ - - + + diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..db323dc Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest index a1be9fa..34aa4c3 100644 --- a/public/manifest.webmanifest +++ b/public/manifest.webmanifest @@ -8,12 +8,12 @@ "description": "Configuration app for Meatloaf device.", "icons": [ { - "src": "/icon.192.png", + "src": "icon.192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/icon.512.png", + "src": "icon.512.png", "sizes": "512x512", "type": "image/png" } diff --git a/src/main.tsx b/src/main.tsx index 2a9ee59..932d3d0 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -7,7 +7,7 @@ // Register service worker for PWA installability if ('serviceWorker' in navigator) { window.addEventListener('load', () => { - navigator.serviceWorker.register('/service-worker.js'); + navigator.serviceWorker.register('service-worker.js'); }); }