Update manifest
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user