Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// In host's sw.js
const CACHE_VERSION = 'v1'; // Change this to force service worker update
importScripts('/js/wirechat/sw.js');
// Example: Custom event listener in main SW
self.addEventListener('install', event => {
console.log('Main Service Worker Installed - ' + CACHE_VERSION);
self.skipWaiting();
});
self.addEventListener('activate', event => {
console.log('Main Service Worker Activated');
event.waitUntil(self.clients.claim());
});