mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added some bit advanced statistic logging
This commit is contained in:
parent
06dc1078bb
commit
02c513c090
2 changed files with 38 additions and 4 deletions
|
@ -69,7 +69,7 @@ app.use(function(req, res, next) {
|
|||
res.on('finish', function() {
|
||||
Log(req, true);
|
||||
});
|
||||
stat.Inc(req.url);
|
||||
stat.LogStat(req.url);
|
||||
next();
|
||||
});
|
||||
app.use(express.static('public'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue