SW v54 — business schedule
This commit is contained in:
parent
d397d0cb24
commit
6a34f36621
|
|
@ -1,10 +1,8 @@
|
||||||
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-v43";
|
const STATIC_CACHE = "construction-delivery-static-v54";
|
||||||
const RUNTIME_CACHE = "construction-delivery-runtime-v43";
|
const RUNTIME_CACHE = "construction-delivery-runtime-v54";
|
||||||
const STATIC_CACHE = "construction-delivery-static-v43";
|
|
||||||
const RUNTIME_CACHE = "construction-delivery-runtime-v43";
|
|
||||||
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"];
|
||||||
|
|
||||||
self.addEventListener("install", (event) => {
|
self.addEventListener("install", (event) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue