Skip to content

Commit

Permalink
[fix] style spacing wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Dec 17, 2014
1 parent 8a8a894 commit ea0a4de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/http-proxy/passes/web-incoming.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ web_o = Object.keys(web_o).map(function(pass) {
proxyReq.on('response', function(proxyRes) {
if(server) { server.emit('proxyRes', proxyRes, req, res); }
for(var i=0; i < web_o.length; i++) {
if(web_o[i](req, res, proxyRes, options)) { break; }
if(web_o[i](req, res, proxyRes, options)) { break; }
}

// Allow us to listen when the proxy has completed
proxyRes.on('end', function () {
server.emit('end', req, res, proxyRes);
})
server.emit('end', req, res, proxyRes);
});

proxyRes.pipe(res);
});
Expand Down

0 comments on commit ea0a4de

Please sign in to comment.