fix(pwa): remove no-op fetch handler from service worker
CI / Build & Test (push) Successful in 2m52s

Chrome warns that an empty fetch listener adds navigation overhead.
Removed the handler entirely — a registered SW without a fetch handler
still satisfies Chrome's PWA installability requirement since v112.
This commit is contained in:
Raven Scott
2026-03-01 02:37:23 -05:00
parent d587441cf5
commit e665a814d7
+2 -2
View File
@@ -1,3 +1,3 @@
// Minimal service worker required for PWA installability.
// No caching is needed — the extension bundle is already local.
self.addEventListener('fetch', () => {});
// No fetch handler needed — the extension bundle is already local
// and Chrome does not require one for the install prompt since v112.