Closed sickpuppysoftware closed 7 years ago
Issue was due to app installation changing mime type in registry
Have you solved this problem? If you solved it, can you tell me how you solved it? Thank you very much.
I searched the registry for text/plain until I spotted one that matched a .js extension. I changed it to application/javascript.
Unfortunately the editor that changed this setting broke it again when it updated. It's a known issue that I don't think Google are going to fix anytime soon.
I raised a bug with them.
Thank you for your answer. Well, I guess there's only a way to change the registry locally now in Windows 10.
When trying to log in under Windows 10 the following error occurs
login.html:1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/plain'). Promise rejected (async) (anonymous) @ login.js:16
Registering the service worker works fine under OSX and Chrome OS.