mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 06:37:23 +02:00
fix: fix file list collection
This commit is contained in:
1 parent
2a145730b7
commit
378942a28e
3 files changed
+39
-32
No files matched your search
+6
-1
@@ -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