update
This commit is contained in:
parent
7c51c55994
commit
0ea857261e
1 changed files with 2 additions and 4 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue