From b333e63648aa67ea1b1aaf17ba684e5fc6f751a6 Mon Sep 17 00:00:00 2001 From: cronopio Date: Wed, 9 Oct 2013 11:04:41 -0500 Subject: [PATCH] [tests] fixing minor typos --- lib/http-proxy.js | 2 +- lib/http-proxy/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/http-proxy.js b/lib/http-proxy.js index f172178..bcaa36e 100644 --- a/lib/http-proxy.js +++ b/lib/http-proxy.js @@ -39,6 +39,6 @@ proxy.createProxyServer = proxy.createServer = function createProxyServer(option ].join("\n")); } */ - return new ProxyServer(options); + return new httpProxy.Server(options); }; diff --git a/lib/http-proxy/index.js b/lib/http-proxy/index.js index 7528f46..1678d19 100644 --- a/lib/http-proxy/index.js +++ b/lib/http-proxy/index.js @@ -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) {