- From: Salvador de la Puente González <notifications@github.com>
- Date: Mon, 25 Jul 2016 11:13:01 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 25 July 2016 18:14:28 UTC
What about something like:
```js
self.onfetch = evt => {
evt.safeNavigation = true; // make the navigation request to proceed to the network in case of failure.
};
```
Or:
```js
self.addEventListener('fetch', evt => {
evt.safeNavigation = true; // make the navigation request to proceed to the network in case of failure.
}, { safeNavigation: true });
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/892#issuecomment-235036050
Received on Monday, 25 July 2016 18:14:28 UTC