shots + sw stamp 778ffcf925

This commit is contained in:
gitea-actions[bot] committed 2026-10-21 04:48:35 +00:00
1 parent 778ffcf925
commit 25d97db0ab
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
// gandora's service worker: the shell is cached so the app opens and the library plays with no signal.
// Tracks live in IndexedDB already; the DJ and new renders need the network and the page says so.
// REV is stamped by the shots workflow on every push, so an installed app sees each update as a new worker.
const REV = "03251b594880";
const REV = "778ffcf9255a";
const SHELL = "gandora-shell-" + REV;
const FILES = ["/", "/index.html", "/brain.js", "/favicon.svg", "/manifest.json", "/icons/icon.svg"];
self.addEventListener("install", (e) => { e.waitUntil(caches.open(SHELL).then((c) => c.addAll(FILES)).then(() => self.skipWaiting())); });