aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-29 07:22:30 -0700
committerAdam Soltys <[email protected]>2026-06-29 07:22:30 -0700
commit729690e58a2601ec9c96f5b4431944c1d8f999c7 (patch)
treeb6270e661f914c136c5db08e1b71254c01080b03 /src/style.css
parent0baf4cf55daa1ed33c2b276f40a6fd8aa922ee34 (diff)
downloadcoinosv3-729690e58a2601ec9c96f5b4431944c1d8f999c7.tar.gz
coinosv3-729690e58a2601ec9c96f5b4431944c1d8f999c7.zip
Dev: proxy all regtest backends through the dev server for LAN/phone testing
The dev server already binds 0.0.0.0, but the app's regtest data source + SP indexer pointed at localhost, which on a phone means the phone's own localhost. Proxy them all through the dev server (same-origin), like /boltz already was: HTTP by prefix (/boltz, /esplora, /sp) and WebSocket by exact path (/electrum → Fulcrum, /sp/ws → SP indexer), with a Bun websocket relay. The regtest presets become relative paths, and a small absWsUrl() resolves '/path' WS URLs to ws(s)://<page-host>/path so they work from any device hitting the dev server. No per-device config, no CORS. Verified: /electrum relays Fulcrum 2.1.1, /esplora returns the tip height, and the desktop wallet still loads (balance 98,444) and connects through the proxy with no errors. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/style.css')
0 files changed, 0 insertions, 0 deletions