mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
lnrpc: enable RPC middleware in REST WebSockets
If we don't flag the /v1/middleware call as request streaming, it can't be used properly with REST WebSockets because the proxy would close the connection after the first request message.
This commit is contained in:
parent
cc8ccabec4
commit
b08d1b2a4f
@ -13,6 +13,7 @@ var (
|
||||
regexp.MustCompile("^/v1/channels/acceptor$"),
|
||||
regexp.MustCompile("^/v1/channels/transaction-stream$"),
|
||||
regexp.MustCompile("^/v2/router/htlcinterceptor$"),
|
||||
regexp.MustCompile("^/v1/middleware$"),
|
||||
}
|
||||
|
||||
// MaxGrpcMsgSize is used when we configure both server and clients to
|
||||
|
Loading…
Reference in New Issue
Block a user