mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
fix: fix file list collection
This commit is contained in:
@@ -142,7 +142,12 @@ export default async function start() {
|
||||
const start = Date.now();
|
||||
res.on("finish", function () {
|
||||
const time = Date.now() - start;
|
||||
console.log(`${req.method} ${join(req.baseUrl, req.url)} ${time}ms`);
|
||||
console.log(
|
||||
`${req.method} ${res.statusCode} ${join(
|
||||
req.baseUrl,
|
||||
req.url
|
||||
)} ${time}ms`
|
||||
);
|
||||
});
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user