Re: [slightlyoff/ServiceWorker] service worker not working for localhost (#915)

You have to serve your service worker script with a mimetype of text/javascript or similar.  Things like python -mSimpleHTTPServer should do this automatically for files ending in .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/slightlyoff/ServiceWorker/issues/915#issuecomment-226491386

Received on Thursday, 16 June 2016 13:53:43 UTC