From 162a42f58f515c5418ccfac0b68f4c928103b1e1 Mon Sep 17 00:00:00 2001 From: yawnt Date: Fri, 20 Dec 2013 21:33:49 +0100 Subject: [PATCH] [fix] legacy --- lib/http-proxy/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/http-proxy/index.js b/lib/http-proxy/index.js index c02735b..eb1c5dd 100644 --- a/lib/http-proxy/index.js +++ b/lib/http-proxy/index.js @@ -85,8 +85,8 @@ function createRightProxy(type) { function ProxyServer(options) { EE3.call(this); - this.web = createRightProxy('web')(options); - this.ws = createRightProxy('ws')(options); + this.web = this.proxyRequest = createRightProxy('web')(options); + this.ws = this.proxyWebsocketRequest = createRightProxy('ws')(options); this.options = options; this.webPasses = Object.keys(web).map(function(pass) {