Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html')
On my personal experience, I just ensured the sw.js file is in the same folder as index.html.
On my personal experience, I just ensured the sw.js file is in the same folder as index.html.