diff --git a/src/app.ts b/src/app.ts index be80839..a757a59 100644 --- a/src/app.ts +++ b/src/app.ts @@ -44,15 +44,13 @@ const app = new Elysia() description: "Canvas API Documentation", }, }, + // Removed invalid processRoutes property }) ) .listen(ENV.SERVER_PORT); -// Print all registered routes -console.log("\nšŸ“ Registered Routes:"); app.routes.forEach((route) => { - const methods = Object.keys(route.handlers).join(", "); - console.log(`${methods.padEnd(20)} ${route.path}`); + console.log(`Route: ${route.method} ${route.path}`); }); console.log(`\n🦊 Elysia is running at ${ENV.SERVER_URL}`);