feat: websocket for payments events, remove /payments/sse and longpolling endpoint (#2704)

This commit is contained in:
dni ⚡ 2024-12-16 10:10:25 +01:00 committed by GitHub
parent 740180d332
commit 5f8ccee5b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 71 additions and 313 deletions

View file

@ -348,15 +348,6 @@ Assuming your LNbits is running on port `5000` add:
```
yourdomain.com {
handle /api/v1/payments/sse* {
reverse_proxy 0.0.0.0:5000 {
header_up X-Forwarded-Host yourdomain.com
transport http {
keepalive off
compression off
}
}
}
reverse_proxy 0.0.0.0:5000 {
header_up X-Forwarded-Host yourdomain.com
}