mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-02 09:44:47 +00:00
fix: complete logicsrc PWA assets
This commit is contained in:
parent
2c65baecbb
commit
4b174fe899
6 changed files with 26 additions and 3 deletions
|
|
@ -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)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue