For Workes & Pages, what is the name of the domain?
ear-training.pages.dev
What is the error message?
ns_error_corrupted_content
What is the issue or error you’re encountering
web worker based on separate JS file in assets folder has stopped working; GET request for the JS file fails in Firefox with ns_error_corrupted_content
What steps have you taken to resolve the issue?
- Tried accessing the JS file URL directly; this gives a 404
- Tried redeploying the pages app; no observed behavioral change
What are the steps to reproduce the issue?
Unclear. This used to work in a previous deploy, but no longer works (I haven’t touched the code in question).
Here’s what my app does:
- user loads a JS single page app hosted on cloudflare pages (ear-training.pages.dev)
- that app attempts to start a web worker based on the JS file at /assets/pitch-detection/worker.js
- the GET request to /assets/pitch-detection/worker.js fails with ns_error_corrupted_content, so the web worker creation step fails