// Minimal service worker. Present so Chrome considers the site // installable as a PWA; installed instances run in standalone display // mode, which removes the top-edge "exit fullscreen" indicator that // regular-browser tabs get when entering the Fullscreen API. // No caching logic — assets are served straight from the network so // a new build is picked up without a version bump dance. self.addEventListener('install', (event) => { self.skipWaiting() }) self.addEventListener('activate', (event) => { event.waitUntil(self.clients.claim()) }) self.addEventListener('fetch', () => { // Fall through to network. Required handler for installability; we // deliberately do nothing else so dev/prod behave identically. })