aboutsummaryrefslogtreecommitdiffstats
path: root/nwcpush/config.example.json
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-12-03 21:37:06 -0700
committerAdam Soltys <[email protected]>2026-12-03 21:37:06 -0700
commit9cb28c714529130a9abf01db489335f764cc853a (patch)
treecf61e9d21f4a9f215b6e69f6a894fea870b1f172 /nwcpush/config.example.json
parentac1999d50b83bd7a8d5068abebcb0e1756a63eeb (diff)
downloadcoinosv3-server-9cb28c714529130a9abf01db489335f764cc853a.tar.gz
coinosv3-server-9cb28c714529130a9abf01db489335f764cc853a.zip
names: /lnurlp-fetch fetches a Lightning address's pay parameters for a browser that can't.
"another thing is coinos cannot reach speed.app wallet, not sure why" (Shark, relayed by Adam 2026-12-04). speed.app answers /.well-known/lnurlp/<name> with a 301 to appapi.tryspeed.com that carries no Access-Control-Allow-Origin, and a browser won't follow a cross-origin redirect without it: from v3.coinos.io the fetch fails ("Failed to fetch"), though the target itself allows any origin. GET /lnurlp-fetch?url=https://<host>/.well-known/lnurlp/<name> fetches it server-side with the link previews' guards (public hosts only, rechecked after every redirect, capped body), https only, that one path only, and returns the pay parameters (200), the host's own error (404) or 502. Rate-limited, cached 5 minutes (30 s for failures). New lnurl-proxy.test.js passes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
Diffstat (limited to 'nwcpush/config.example.json')
0 files changed, 0 insertions, 0 deletions