Default (no query): wasm WasmLoginApp —
boots the LoginFlow state machine, async-inits
RenderContext + CdnAssetSource
(manifest <assetBase>/manifest.json.zst from the CDN) and renders the official
Login.img UI. Watch DevTools console for each
transition.
?demo=map — skip login and boot the
offline DemoApp directly (auto-loads Henesys through the same
build_switch_map_state path the native binary uses). No
server required.
?live=ws://host:port/login — drive the
real v83 protocol over WsTransport +
maple-wsgw. Optional
&user=<u>&pass=<p>. Dev-only — the
password travels in the URL in plaintext; never use a real account.
Build & serve:
wasm-pack build --target web --out-dir pkg then serve
this directory (e.g. python3 -m http.server 3000) and
open /web/.