We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9f5772 commit b333e63Copy full SHA for b333e63
lib/http-proxy.js
@@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option
39
].join("\n"));
40
} */
41
42
- return new ProxyServer(options);
+ return new httpProxy.Server(options);
43
};
44
lib/http-proxy/index.js
@@ -91,7 +91,7 @@ function ProxyServer(options) {
91
EE3.call(this);
92
93
this.web = createRightProxy('web')(options);
94
- this.ws = reateRightProxy('ws')(options);
+ this.ws = createRightProxy('ws')(options);
95
this.options = options;
96
97
this.passes = Object.keys(passes).map(function(pass) {
0 commit comments