mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-09 17:19:45 -04:00
24a66587d8
Prior to #4549 the host type in `st_module` was always set to wasm. We now correctly use the host type from the database, but the module may in fact be a JS module. So if launching it as a wasm module fails, try JS instead. If this succeeds, the module is definitely a JS module, so attempt to repair `st_module` in this case. # Expected complexity level and risk 2 # Testing - [x] Added smoketest