Logging changes

This commit is contained in:
YourFriendlyNeighborhoodDealer 2018-12-09 17:42:56 +01:00
parent 11a6150d3a
commit c2f3f24e51
3 changed files with 41 additions and 3 deletions

View file

@ -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'));