From 48fcb7eac55dfafedafbe2c08064c4b839d39336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Mon, 21 Oct 2024 20:29:17 +0200 Subject: [PATCH] Remove obsolete log statements --- server.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/server.ts b/server.ts index 0b246c3..f133bae 100644 --- a/server.ts +++ b/server.ts @@ -24,11 +24,6 @@ router.get("/:path", async (ctx: ctx) => { ctx.response.status = 404; ctx.response.body = "Not Found"; } - - log( - `${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`, - "gray", - ); }); 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.body = "Not Found"; } - - log( - `${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`, - "gray", - ); }); router.get("/:user/:identifier", async (ctx: ctx) => { @@ -57,10 +47,6 @@ router.get("/:user/:identifier", async (ctx: ctx) => { ctx.response.body = "Not Found"; } - log( - `${ctx.request.method} ${ctx.request.url} - ${ctx.response.status}`, - "gray", - ); }); const app = new Application();