From a7ccada0b5ceef12525d63c5777e1ed031eb9eda Mon Sep 17 00:00:00 2001 From: Ettore <=> Date: Wed, 6 May 2026 18:35:19 +0200 Subject: [PATCH] Update manifest --- src/static/manifest.json | 6 ++++-- src/static/sw.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/static/manifest.json b/src/static/manifest.json index e98434a..db91a57 100644 --- a/src/static/manifest.json +++ b/src/static/manifest.json @@ -3,6 +3,7 @@ "short_name": "Lagomare Gates", "description": "Gates control panel for Lagomare residential complex", "start_url": "/", + "scope": "/", "display": "standalone", "orientation": "portrait", "background_color": "#00541eff", @@ -10,9 +11,10 @@ "icons": [ { "src": "/static/mobile_icon.png", - "sizes": "any", + "sizes": "512x512", "type": "image/png", "purpose": "any maskable" } - ] + ], + "lang": "en" } diff --git a/src/static/sw.js b/src/static/sw.js index 8dc17cb..3726602 100644 --- a/src/static/sw.js +++ b/src/static/sw.js @@ -1,6 +1,6 @@ /* Service worker - Lagomare Gates */ const CACHE = "lagomare-gates-v1"; -const PRECACHE = ["/", "/static/style.css", "/static/app.js", "/static/logo.svg", "/static/mobile_icon.svg", "/static/mobile_icon.png", "/manifest.json"]; +const PRECACHE = ["/", "/static/style.css", "/static/app.js", "/static/logo.svg", "/static/mobile_icon.png", "/manifest.json"]; self.addEventListener("install", event => { event.waitUntil(