- From: Jake Archibald <notifications@github.com>
- Date: Tue, 09 Jan 2018 08:52:15 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 January 2018 16:52:36 UTC
In your service worker's fetch listener: ```js addEventListener('fetch', event => { const url = new URL(event.request.url); if (url.origin === location.origin && url.pathname.startsWith('/admin/') { // just let the browser do the normal thing: return; } // rest of your service worker logic }); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1257#issuecomment-356344256
Received on Tuesday, 9 January 2018 16:52:36 UTC