This repository was archived by the owner on Aug 13, 2022. It is now read-only.
This repository was archived by the owner on Aug 13, 2022. It is now read-only.
Server Worker fails to register if the web server has "ForceType: text/html" #34
Closed
Description
Hi All,
Not sure what is the issue here. The SN registration is failing with the below message
"Registration failed with SecurityError: Failed to register a ServiceWorker for scope ('https://www.ctx.com/sw-test/') with script ('https://www.ctx.com/sw-test/sw.js'): The script has an unsupported MIME type ('text/html')."
Has anyone encountered the above message or has some clue on this?
Metadata
Metadata
Assignees
Labels
No labels