// Exists so browsers treat the app as installable. It deliberately caches // nothing and never calls respondWith(): every request goes to the network // exactly as if there were no service worker. A caching worker would keep // serving an old JS bundle after a rebuild, and this app is a live view of // authenticated data with no useful offline mode anyway. self.addEventListener("install", () => self.skipWaiting()); self.addEventListener("activate", (event) => event.waitUntil(self.clients.claim())); self.addEventListener("fetch", () => {});