-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
An error occurred: Failed to execute 'postMessage' on 'Worker': #<Memory> could not be cloned. #24
Comments
Do you have cross origin isolation header set? It is required for web workers, see #23 |
However, there is no cross-domain problem, and the loaded files are all in the same domain ctx.set("Cross-Origin-Embedder-Policy", "require-corp");
ctx.set("Cross-Origin-Opener-Policy", "same-origin"); I tried to add these response headers, but the error was the same |
I have the same issue, but only on production. The app works over |
With help from |
environment:
No cross domain, use self-signed HTTPS;
cargo.toml
src/lib.rs
build.ps1
The text was updated successfully, but these errors were encountered: