This commit is contained in:
breitenbach76 2026-06-09 07:28:37 +02:00
parent de433773b7
commit 6e1bc8d944
31 changed files with 53 additions and 22 deletions

View file

@ -1,7 +1,7 @@
/* Service Worker — SLC-Workshop Companion (App-Shell, offline-first) */
const CACHE = "slc-companion-v21";
const CACHE = "slc-companion-v23";
const SHELL = ["./", "index.html", "manifest.webmanifest", "icon.svg"];
// Action-Card-Grafiken (cards/s<service>-c<change>.png) fuer Offline vorab cachen (alle 30).
// Action-Card-Grafiken (cards/s<service>-c<change>.png) fuer Offline vorab cachen (alle 24).
const CARDS = [];
for (let s = 0; s <= 5; s++) for (let c = 0; c <= 3; c++) {
CARDS.push(`cards/s${s}-c${c}.png`);