mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[minor] Add missing space
This commit is contained in:
parent
4cdbf0e872
commit
b608a029f8
@ -192,7 +192,7 @@ exports.createServer = function () {
|
|||||||
if (!callback) {
|
if (!callback) {
|
||||||
// WebSocket support: if callback is empty tunnel
|
// WebSocket support: if callback is empty tunnel
|
||||||
// websocket request automatically
|
// websocket request automatically
|
||||||
server.on('upgrade', function(req, socket, head) {
|
server.on('upgrade', function (req, socket, head) {
|
||||||
// Tunnel websocket requests too
|
// Tunnel websocket requests too
|
||||||
|
|
||||||
proxy.proxyWebSocketRequest(req, socket, head, {
|
proxy.proxyWebSocketRequest(req, socket, head, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user