- From: Ben Kelly <notifications@github.com>
- Date: Fri, 02 Oct 2015 08:08:56 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 2 October 2015 15:09:25 UTC
I guess workers have the same problem. If `a.com/worker.js` is redirected to `a.com/scripts/worker.js` and then does an `importScripts('./lib.js')`, then the relative URL for the sub-resource is broken again. With a pass-through service worker it tries to load `a.com/lib.js` instead of `a.com/scripts/lib.js`. Also, @annevk tells me on IRC he does not think manual redirect is the answer here. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/757#issuecomment-145054948
Received on Friday, 2 October 2015 15:09:25 UTC