the greatest

This commit is contained in:
thrhymes
2025-12-24 23:07:56 +01:00
parent b7cb257d05
commit 4605b51236
5 changed files with 160 additions and 132 deletions

View File

@@ -1,9 +1,10 @@
const CACHE = "wfw-aushang-2025.12.24.12";
const CACHE = "wfw-aushang-2025.12.24.19";
const ASSETS = [
"/zuss/",
"/zuss/index.html",
"/zuss/app.js",
"/zuss/style.css",
"/zuss/manifest.webmanifest",
"/zuss/version.json",
"/zuss/icons/icon-192.png",
@@ -40,7 +41,7 @@ self.addEventListener("fetch", (event) => {
return fresh;
} catch {
const cached = await caches.match(req);
return cached || new Response('{"version":"2025.12.24.12"}', { headers: { "Content-Type": "application/json" } });
return cached || new Response('{"version":"2025.12.24.19"}', { headers: { "Content-Type": "application/json" } });
}
})());
return;