mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] legacy
This commit is contained in:
parent
9243444ac0
commit
162a42f58f
@ -85,8 +85,8 @@ function createRightProxy(type) {
|
|||||||
function ProxyServer(options) {
|
function ProxyServer(options) {
|
||||||
EE3.call(this);
|
EE3.call(this);
|
||||||
|
|
||||||
this.web = createRightProxy('web')(options);
|
this.web = this.proxyRequest = createRightProxy('web')(options);
|
||||||
this.ws = createRightProxy('ws')(options);
|
this.ws = this.proxyWebsocketRequest = createRightProxy('ws')(options);
|
||||||
this.options = options;
|
this.options = options;
|
||||||
|
|
||||||
this.webPasses = Object.keys(web).map(function(pass) {
|
this.webPasses = Object.keys(web).map(function(pass) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user