We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The web worker create by passing a .js file as parameter: new Worker(new URL("worker.js", import.meta.url))
new Worker(new URL("worker.js", import.meta.url))
when fetch the worker.js file from server, the request is: http://127.0.0.1/assets/workers/worker.js instead of: http://127.0.0.1/assets/workers/worker-252df82be7cdf7c0507e119591b5c0a5649cb95544a18c1c096e6f0602e8cbb4.js
this case a 404 not found for the worker file.
I can move the worker.js file to the "public/" directly to solve this, but this is too ugly.
How to fix this?
The text was updated successfully, but these errors were encountered:
Use RAILS_ASSET_URL rails/propshaft#207
Sorry, something went wrong.
No branches or pull requests
The web worker create by passing a .js file as parameter:
new Worker(new URL("worker.js", import.meta.url))
when fetch the worker.js file from server, the request is:
http://127.0.0.1/assets/workers/worker.js
instead of:
http://127.0.0.1/assets/workers/worker-252df82be7cdf7c0507e119591b5c0a5649cb95544a18c1c096e6f0602e8cbb4.js
this case a 404 not found for the worker file.
I can move the worker.js file to the "public/" directly to solve this, but this is too ugly.
How to fix this?
The text was updated successfully, but these errors were encountered: