Skip to content

Commit

Permalink
[fix] legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Dec 20, 2013
1 parent 9243444 commit 162a42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/http-proxy/index.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 162a42f

Please sign in to comment.