diff --git a/src/service-worker.js b/src/service-worker.js index 28bb61f..ef3e0c3 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -34,6 +34,9 @@ self.addEventListener('fetch', (event) => { // ignore POST requests etc if (event.request.method !== 'GET') return + // ignore chrome-extension requests + if (event.request.url.startsWith('chrome-extension://')) return + async function respond() { const url = new URL(event.request.url) const cache = await caches.open(CACHE)