Skip to content

Commit 162a42f

Browse files
committed
[fix] legacy
1 parent 9243444 commit 162a42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lib/http-proxy/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ function createRightProxy(type) {
8585
function ProxyServer(options) {
8686
EE3.call(this);
8787

88-
this.web = createRightProxy('web')(options);
89-
this.ws = createRightProxy('ws')(options);
88+
this.web = this.proxyRequest = createRightProxy('web')(options);
89+
this.ws = this.proxyWebsocketRequest = createRightProxy('ws')(options);
9090
this.options = options;
9191

9292
this.webPasses = Object.keys(web).map(function(pass) {

0 commit comments

Comments
 (0)