Exporting to web from Godot 4 might not work for everyone, but it should. I make my projects in the Compatibility Mode (options in top-right of Godot editor), and when editing the jam page itself, I check the box that says "SharedArrayBuffer
support". That's been working for me, at least.