diff --git a/img/icon-96.png b/img/icon-96.png new file mode 100644 index 0000000..48250ac Binary files /dev/null and b/img/icon-96.png differ diff --git a/js/index.js b/js/index.js index d03fe41..2a4cac6 100644 --- a/js/index.js +++ b/js/index.js @@ -256,7 +256,7 @@ validatePurpose(document.querySelector("#purpose input")); regenerate(); if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/sw.js') + navigator.serviceWorker.register('/js/service-worker.js') .catch(err => console.error('Service Worker registration failed:', err)); } diff --git a/site.webmanifest b/site.webmanifest index 9915d8b..2de307a 100644 --- a/site.webmanifest +++ b/site.webmanifest @@ -1,15 +1,15 @@ { "id": "https://bezahlbrudi.jetzt", "scope": "https://bezahlbrudi.jetzt", - "name": "🦸 BezahlBrudi", - "short_name": "🦸 BB", + "name": "BezahlBrudi", + "short_name": "BezahlBrudi", "description": "Webapp that generates GiroCodes so that you can easily exchange money with friends and family without involving third party financial services", "categories": ["finance", "utilities"], "start_url": "/", "icons": [ { - "src": "/img/icon-192.png", - "sizes": "192x192", + "src": "/img/icon-96.png", + "sizes": "96x96", "type": "image/png", "purpose": "maskable" }, @@ -20,7 +20,7 @@ "purpose": "maskable" } ], - "theme_color": "#111111", - "background_color": "#000000", + "theme_color": "#ffffff", + "background_color": "#ffffff", "display": "fullscreen" }