feat: #4 shift lights + #5 phone dash + #6 PWA support

This commit is contained in:
2026-07-26 18:43:59 +08:00
parent ea32fa841e
commit 71d039ba82
7 changed files with 195 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
self.addEventListener('install', (e) => { self.skipWaiting(); });
self.addEventListener('activate', (e) => { e.waitUntil(clients.claim()); });
self.addEventListener('fetch', (e) => { e.respondWith(fetch(e.request).catch(() => caches.match(e.request))); });