mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[tests] fixing minor typos
This commit is contained in:
parent
c9f5772fc1
commit
b333e63648
@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option
|
||||
].join("\n"));
|
||||
} */
|
||||
|
||||
return new ProxyServer(options);
|
||||
return new httpProxy.Server(options);
|
||||
};
|
||||
|
||||
|
||||
@ -91,7 +91,7 @@ function ProxyServer(options) {
|
||||
EE3.call(this);
|
||||
|
||||
this.web = createRightProxy('web')(options);
|
||||
this.ws = reateRightProxy('ws')(options);
|
||||
this.ws = createRightProxy('ws')(options);
|
||||
this.options = options;
|
||||
|
||||
this.passes = Object.keys(passes).map(function(pass) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user