app.use(’/nginxlog/codeAnalytics/mobile’,function(req, res, next) {
logger.info("/xxxxx",xxxxxxxx);
if(nowenv == “idc”){
next();
}
});
app.use(’/nginxlog’, index); app.use(’/nginxlog/codeAnalytics’, httpCodeAnalytics);
发现第一个use根本不会执行 这是为啥
app.use(’/nginxlog/codeAnalytics/mobile’,function(req, res, next) {
logger.info("/xxxxx",xxxxxxxx);
if(nowenv == “idc”){
next();
}
});
app.use(’/nginxlog’, index); app.use(’/nginxlog/codeAnalytics’, httpCodeAnalytics);
发现第一个use根本不会执行 这是为啥