Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Commit 2660e25

Browse files
authored
Merge pull request #2 from vizydrop/r-1
release
2 parents 7c25dbc + df809d3 commit 2660e25

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ const streamStats = async (github, repos, out) => {
118118
stream.end();
119119
};
120120

121-
app.use(morgan(':method :status :response-time ms'));
121+
morgan.token('path', (req) => req.path);
122+
123+
app.use(morgan(':method :status :path :response-time ms'));
122124

123125
app.get('/vizydrop-status-ping', (req, res) => {
124126
res.json({ok:true});

0 commit comments

Comments
 (0)