fix(pwa): force SW bump for tab visibility on mobile
This commit is contained in:
parent
8faa839056
commit
98ebc935c2
|
|
@ -1,8 +1,8 @@
|
|||
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
||||
|
||||
if (!isLocalhost) {
|
||||
const STATIC_CACHE = "construction-delivery-static-v87";
|
||||
const RUNTIME_CACHE = "construction-delivery-runtime-v87";
|
||||
const STATIC_CACHE = "construction-delivery-static-v88";
|
||||
const RUNTIME_CACHE = "construction-delivery-runtime-v88";
|
||||
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];
|
||||
|
||||
self.addEventListener("install", (event) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue