Re: [ServiceWorker] Equivalent of Shared Worker Port in Service Worker? (#662)

@tresdin You'd have to move the script to root or else use the Service-Worker-Allowed HTTP header. See #468 . BTW if you're using a recent version of Chrome, it has a message explaining this when you try to register for scope '/':

"DOMException: Failed to register a ServiceWorker: The path of the provided scope ('/') is not under the max scope allowed ('/app/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope."

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

Received on Wednesday, 25 March 2015 06:32:55 UTC