From 8e802f314ac8d3932392fcb40142daf932f04c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 3 Dec 2024 18:50:40 +0100 Subject: [PATCH] Remove debug statements --- handlers/nprofile.ts | 1 - server.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/handlers/nprofile.ts b/handlers/nprofile.ts index 6b1adb1..e84e03f 100644 --- a/handlers/nprofile.ts +++ b/handlers/nprofile.ts @@ -9,7 +9,6 @@ const nprofileHandler = async function (ctx: Context) { try { data = nip19.decode(nprofile).data as nip19.ProfilePointer; - console.log(data); } catch (_e) { notFoundHandler(ctx); return; diff --git a/server.ts b/server.ts index ee7a02a..068437f 100644 --- a/server.ts +++ b/server.ts @@ -85,7 +85,6 @@ router.get("/:username/:identifier", async (ctx) => { }); router.get("/assets/:path*", async (ctx) => { - console.log(import.meta.dirname); try { let filePath = ctx.params.path || ""; let root: string;