[fix] style spacing wtf

This commit is contained in:
Jarrett Cruger 2014-12-17 00:53:51 -07:00
parent 8a8a894092
commit ea0a4ded80

View File

@ -145,13 +145,13 @@ web_o = Object.keys(web_o).map(function(pass) {
proxyReq.on('response', function(proxyRes) { proxyReq.on('response', function(proxyRes) {
if(server) { server.emit('proxyRes', proxyRes, req, res); } if(server) { server.emit('proxyRes', proxyRes, req, res); }
for(var i=0; i < web_o.length; i++) { 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 // Allow us to listen when the proxy has completed
proxyRes.on('end', function () { proxyRes.on('end', function () {
server.emit('end', req, res, proxyRes); server.emit('end', req, res, proxyRes);
}) });
proxyRes.pipe(res); proxyRes.pipe(res);
}); });