#!/usr/bin/env node // `radial-ui` — the static bundle, on loopback. // // This is all that is left of the server that used to be here. The old one rendered pages, held app // passwords and wrote records; this one hands over files, because everything it used to do now happens // in the tab (phase6-ui-plan §1): the fold runs in the browser, writes go to the human's own PDS under // their own OAuth session, and there is no session, no CSRF surface and no origin allowlist to get // right — a request that arrives here can be answered with a file or not at all. // // Two rules do all the work: // // - **Anything that is not a file is `index.html`.** The app is a pure SPA with `fallback: index.html` // (`svelte.config.js`), so `/g//` has to resolve to the shell and be routed in the // browser. A path that names an extension is a missing asset and 404s, because answering a broken // `