Re: [ServiceWorker] What is FetchEvent.clientId for navigation requests (#808)

Well, it seems logical to be able to identify the page using the service worker and making the requests.

In my case, I need the service worker to behave differently according to the host page url.
For example: 
if the host page location is https://myhost.com/forward then forward requests
else (the host page location is https://myhost.com/anythingElse) don't forward anything.

Any idea how can I achieve that without the clientID ?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/808#issuecomment-192753018

Received on Saturday, 5 March 2016 22:33:16 UTC