mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] use some
This commit is contained in:
parent
a6256cac1d
commit
4480699d3a
@ -36,7 +36,7 @@ function createRightProxy(type) {
|
||||
//self.emit(ev + 'begin', req, res);
|
||||
|
||||
|
||||
passes.every(function(pass) {
|
||||
passes.some(function(pass) {
|
||||
var evnt = ev + pass.name.toLowerCase();
|
||||
|
||||
//self.emit(evnt + 'begin', req, res);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user