Update manifest

This commit is contained in:
Ettore
2026-05-06 18:35:19 +02:00
parent 7617af10a9
commit a7ccada0b5
2 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
"short_name": "Lagomare Gates", "short_name": "Lagomare Gates",
"description": "Gates control panel for Lagomare residential complex", "description": "Gates control panel for Lagomare residential complex",
"start_url": "/", "start_url": "/",
"scope": "/",
"display": "standalone", "display": "standalone",
"orientation": "portrait", "orientation": "portrait",
"background_color": "#00541eff", "background_color": "#00541eff",
@@ -10,9 +11,10 @@
"icons": [ "icons": [
{ {
"src": "/static/mobile_icon.png", "src": "/static/mobile_icon.png",
"sizes": "any", "sizes": "512x512",
"type": "image/png", "type": "image/png",
"purpose": "any maskable" "purpose": "any maskable"
} }
] ],
"lang": "en"
} }

View File

@@ -1,6 +1,6 @@
/* Service worker - Lagomare Gates */ /* Service worker - Lagomare Gates */
const CACHE = "lagomare-gates-v1"; 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 => { self.addEventListener("install", event => {
event.waitUntil( event.waitUntil(