chore(pwa): bump cache version

This commit is contained in:
root 2026-08-06 06:52:48 +00:00
parent 60d6033085
commit 24e708901a
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +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-v78"; const STATIC_CACHE = "construction-delivery-static-v79";
const RUNTIME_CACHE = "construction-delivery-runtime-v78"; const RUNTIME_CACHE = "construction-delivery-runtime-v79";
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) => {