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

The error message says sw.js is served with the MIME type text/html.  It must be served with  text/javascript or similar. It looks like your server is changing the MIME type based on the path.

(Also this GitHub repository is not a good place for this issue, since it's not a spec issue.)

---
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-226675705

Received on Friday, 17 June 2016 04:05:39 UTC