6

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?

Dinuka Thilanga
  • 4,220
  • 10
  • 56
  • 93
Timur Zakirov
  • 381
  • 2
  • 8

0 Answers0