.jsapplication/javascriptPlugins-1.5a.iniThe following code for registering a serviceWorker is causing an security error "unsupported MIME type".
I'm posting this to ask for advice on how to resolve this error.
*I've changed the
default_pagePlugins-1.5a.ini■ Service Worker registration code:
Code: Select all
navigator.serviceWorker.register("./Everything_sw.js");Uncaught (in promise) SecurityError: Failed to register a ServiceWorker for scope (<<server_origin>>) with script (<<server_origin/script_path>>): The script has an unsupported MIME type ('application/octet-stream').- Everything: 1.5.0.1408a (x64)
- Everyting HTTP Server: 1.0.3.4 (x64)
Thank you in advance.