mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix doc] Fix bad variable reference in README.md.
This commit is contained in:
parent
ba65a485fc
commit
440013c263
@ -482,7 +482,7 @@ server.on('upgrade', function(req, socket, head) {
|
|||||||
//
|
//
|
||||||
// Put your custom server logic here
|
// Put your custom server logic here
|
||||||
//
|
//
|
||||||
proxy.proxyWebSocketRequest(req, socket, head, {
|
server.proxy.proxyWebSocketRequest(req, socket, head, {
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
port: 9000
|
port: 9000
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user