We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec63b1a + c5ccd2e commit 9f6291fCopy full SHA for 9f6291f
lib/ws-proxy.js
@@ -28,7 +28,7 @@ module.exports = (config) => {
28
try {
29
await onOpen(client, url.searchParams)
30
31
- const target = route.target + '?' + url.searchParams.toString()
+ const target = route.target + url.pathname + '?' + url.searchParams.toString()
32
const remote = new WebSocket.Client(target, subProtocols, route.proxyConfig)
33
34
client.pipe(remote)
0 commit comments