update 00000
This commit is contained in:
parent
48f8013dfe
commit
17b33bc81a
1 changed files with 6 additions and 0 deletions
|
|
@ -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, () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue