6 ms·
Unfortunately even though WebAssembly assets can be served statically, you need certain headers to be set to use SharedArrayBuffer, which as far as I can tell i
by paulgb 1y ago
Unfortunately even though WebAssembly assets can be served statically, you need certain headers to be set to use SharedArrayBuffer, which as far as I can tell is not possible on GH Pages[1]. Pyodide seems to use SharedArrayBuffer for at least some functionality.
[1] https://github.com/orgs/community/discussions/13309 https://github.com/orgs/community/discussions/13309
- simonw 1y agoOh that's really disappointing. I've been loading Pyodide from a CDN so I hadn't noticed that. The one downside of GitHub Pages generally is the lack of custom header control - you can't serve proper HTTP redirects for example.