Re: [w3c/ServiceWorker] Can't register same ServiceWorker file to different subdomain (#994)

Changing:
```
<base href="https://example.com/" target="_top">
```
To:
```
<base href="/" target="_top">
```

Resolved this issue. This all was a mistake on my part.

The only question I have left is whether relative paths in the ServiceWorker should always be resolved by the `<base>` element (if available) or by the origin of the current window? The latter makes sense to me, just for the fact that ServiceWorker files can never be accessed cross-origin.

-- 
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/994#issuecomment-255493082

Received on Saturday, 22 October 2016 00:11:23 UTC