From 17b33bc81ad2052116eb6617bfde72c35f6f5d0f Mon Sep 17 00:00:00 2001 From: smfahim25 Date: Wed, 19 Mar 2025 10:23:59 +0600 Subject: [PATCH] update 00000 --- src/app.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app.ts b/src/app.ts index cb5f444..3634c7e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -62,6 +62,12 @@ const app = new Elysia({ // all routes here app.use(api); +// Debug - Print all registered routes +console.log("All registered routes:"); +app.routes.forEach((route) => { + console.log(`${route.method} ${route.path}`); +}); + app.get("/", () => "API root is working"); app.listen(ENV.SERVER_PORT, () => {