Skip to content

Commit

Permalink
[tests] fixing minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cronopio committed Oct 9, 2013
1 parent c9f5772 commit b333e63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/http-proxy.js
Expand Up @@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option
].join("\n"));
} */

return new ProxyServer(options);
return new httpProxy.Server(options);
};

2 changes: 1 addition & 1 deletion lib/http-proxy/index.js
Expand Up @@ -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) {
Expand Down

0 comments on commit b333e63

Please sign in to comment.