Remove obsolete log statements

This commit is contained in:
Râu Cao 2024-10-21 20:29:17 +02:00
parent 849410bb64
commit 48fcb7eac5
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -24,11 +24,6 @@ router.get("/:path", async (ctx: ctx) => {
ctx.response.status = 404; ctx.response.status = 404;
ctx.response.body = "Not Found"; ctx.response.body = "Not Found";
} }
log(
`${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`,
"gray",
);
}); });
router.get("/:user/:kind.atom", async (ctx: ctx) => { router.get("/:user/:kind.atom", async (ctx: ctx) => {
@ -40,11 +35,6 @@ router.get("/:user/:kind.atom", async (ctx: ctx) => {
ctx.response.status = 404; ctx.response.status = 404;
ctx.response.body = "Not Found"; ctx.response.body = "Not Found";
} }
log(
`${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`,
"gray",
);
}); });
router.get("/:user/:identifier", async (ctx: ctx) => { router.get("/:user/:identifier", async (ctx: ctx) => {
@ -57,10 +47,6 @@ router.get("/:user/:identifier", async (ctx: ctx) => {
ctx.response.body = "Not Found"; ctx.response.body = "Not Found";
} }
log(
`${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`,
"gray",
);
}); });
const app = new Application(); const app = new Application();