[fix] legacy

This commit is contained in:
yawnt 2013-12-20 21:33:49 +01:00
parent 9243444ac0
commit 162a42f58f

View File

@ -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) {