Open foreinbug opened 3 months ago
Do you have cross origin isolation header set? It is required for web workers, see #23
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
environment:
No cross domain, use self-signed HTTPS;
cargo.toml
src/lib.rs
build.ps1