fix: complete logicsrc PWA assets

This commit is contained in:
Anthony Ettinger 2026-10-30 09:51:53 +00:00
parent 2c65baecbb
commit 4b174fe899
6 changed files with 26 additions and 3 deletions

View file

@ -1,5 +1,5 @@
const CACHE_NAME = "logicsrc-standards-v1";
const SHELL_ASSETS = ["/", "/manifest.webmanifest", "/icon.svg"];
const SHELL_ASSETS = ["/", "/manifest.webmanifest", "/icon.svg", "/icon-192.png", "/icon-512.png", "/icon-maskable-512.png"];
self.addEventListener("install", (event) => {
event.waitUntil(caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_ASSETS)));