fix: manifest start_url → /delivery/showcase for client PWA
This commit is contained in:
parent
7a702114eb
commit
02b70cac22
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "СуперСам Доставка",
|
"name": "СуперСам Доставка",
|
||||||
"short_name": "СуперСам",
|
"short_name": "СуперСам",
|
||||||
"description": "Панель управления доставкой стройматериалов с уведомлениями.",
|
"description": "Панель управления доставкой стройматериалов с уведомлениями.",
|
||||||
"start_url": "/dashboard",
|
"start_url": "/delivery/showcase",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#f4f7f5",
|
"background_color": "#f4f7f5",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
||||||
|
|
||||||
if (!isLocalhost) {
|
if (!isLocalhost) {
|
||||||
const STATIC_CACHE = "construction-delivery-static-v105";
|
const STATIC_CACHE = "construction-delivery-static-v106";
|
||||||
const RUNTIME_CACHE = "construction-delivery-runtime-v104";
|
const RUNTIME_CACHE = "construction-delivery-runtime-v104";
|
||||||
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];
|
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue