GitHub Page Headers and Webassembly

Hello,

Currently Firefox requires two additional headers being served when loading webassembly code:

Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp


These headers are apparently going to be required by Chrome too in the future.

Is there any chance we can get a way to enable them in GitHub pages?

3 Likes

I was checking on Netilify and they provide a headers file

Maybe a similar config as file under .github directory would be feasible in the future.

1 Like