mix popcorn.simple_server (Popcorn v0.1.0)
View SourceGenerates a simple static file server script to host assets generated by Popcorn.
These assets can also be hosted with any other server, but it has to add the following HTTP headers:
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corpOtherwise the browser refuses to run WASM.