Reputation: 549
How to use http proxy for web socket with next js rewrites.
The destination
does not start with /
, http://
, or https://
for the flowing example.
{
"source":"/websocket",
"destination":"wss://some.domine.com/websocket"
}
How to solve it?
Upvotes: 10
Views: 1000