aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-28 21:59:07 -0700
committerAdam Soltys <[email protected]>2026-06-28 21:59:07 -0700
commitfcd971da0c110607ccdc7637667beb0fa79d42a7 (patch)
tree4b81bb348c8d6ed25bec03f6e5adf10b68908226 /src/style.css
parent656726e17684071e929a2f0453cdd306c4d8dc12 (diff)
downloadcoinosv3-fcd971da0c110607ccdc7637667beb0fa79d42a7.tar.gz
coinosv3-fcd971da0c110607ccdc7637667beb0fa79d42a7.zip
Swaps(regtest dev): proxy boltz through the dev server to fix CORS 'failed to fetch'
The regtest boltz API (localhost:9001) sends no CORS headers, so the browser blocked cross-origin fetches — creating a Lightning invoice failed with 'failed to fetch', and the limits GET silently fell back to defaults (min showed 25k instead of regtest's real 50k). bun E2E tests didn't hit this (no CORS enforced). dev.js now proxies /boltz/* to localhost:9001 (adding CORS + handling the OPTIONS preflight), and the 'local' boltz preset points at the same-origin /boltz path. Public providers (mainnet/testnet) already send CORS and are unaffected. Verified: GET limits via proxy returns the real 50k/40.29M with CORS; POST create-reverse succeeds; the browser swap form now shows Min 50,000. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/style.css')
0 files changed, 0 insertions, 0 deletions