- From: Bettelstab <notifications@github.com>
- Date: Thu, 14 Feb 2019 20:56:02 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 February 2019 20:56:25 UTC
@frvge Here you go: ```// Intercept fetch self.addEventListener('fetch', event => { if (event.request.url.startsWith(self.location.origin)) { // adapt this line // forward request event.respondWith(fetch(event.request, { // omit cookie transmission credentials: 'omit' })); } }); ``` -- 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/707#issuecomment-463792458
Received on Thursday, 14 February 2019 20:56:25 UTC