mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Logging changes
This commit is contained in:
parent
11a6150d3a
commit
c2f3f24e51
3 changed files with 41 additions and 3 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