diff options
| author | Adam Soltys <[email protected]> | 2026-08-03 10:44:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-03 10:44:46 -0700 |
| commit | 2cc244c19632e9f9f3083e6edf71649a366ba719 (patch) | |
| tree | dcd499e6e590908e642e814858d6bab70e874066 /postcss.config.cjs | |
| parent | 7b2335636e28f43eb8d48c5d9fa3a3945421cf34 (diff) | |
| download | coinos-ui-2cc244c19632e9f9f3083e6edf71649a366ba719.tar.gz coinos-ui-2cc244c19632e9f9f3083e6edf71649a366ba719.zip | |
migrate: run the sweep server-side, and send the whole balance
Two fixes from the first live test:
The POST went out from the browser, where $lib/utils' base is "" — so
it hit the SvelteKit page route and came back "POST method not allowed".
Payments in this app all run server-side with auth(cookies), because
that's where the session token is usable; /migrate is a form action now
like the rest of the send flows.
And the routing reserve is gone: the ASP's node has two direct channels
to ln.coinos.io, so a sweep is one hop and costs nothing. It sends the
full balance, only retrying 0.5% lighter if a payment actually comes
back short.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'postcss.config.cjs')
0 files changed, 0 insertions, 0 deletions
