- From: Hux 黄玄 <notifications@github.com>
- Date: Fri, 04 Nov 2016 09:56:04 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 4 November 2016 16:56:48 UTC
What @wanderview means is that when you do ``` navigator.serviceWorker.register('/sw.js') ``` The actually requesting URL is the `sw.js` located in the root but when you do ``` navigator.serviceWorker.register('sw.js') ``` This is actually a Relative URL so what you actually request might be `/post/blah/sw.js` -- 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/1001#issuecomment-258487310
Received on Friday, 4 November 2016 16:56:48 UTC