8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RoutingProxy
1 parent b8c27ed commit 37cc28fCopy full SHA for 37cc28f
lib/node-http-proxy/routing-proxy.js
@@ -60,7 +60,7 @@ var RoutingProxy = exports.RoutingProxy = function (options) {
60
this.on('newListener', function (evt) {
61
if (evt === 'proxyError' || evt === 'webSocketProxyError') {
62
Object.keys(self.proxies).forEach(function (key) {
63
- self.proxies[key].on(evt, this.emit.bind(this, evt));
+ self.proxies[key].on(evt, self.emit.bind(this, evt));
64
});
65
}
66
0 commit comments