🧹 chore: support optional path parameter

This commit is contained in:
saltyaom
2024-07-15 17:38:36 +07:00
parent ff6e88ec29
commit ebf0e54269
13 changed files with 753 additions and 736 deletions

View File

@@ -39,7 +39,6 @@ const app = new Elysia()
}
})
)
.use(plugin)
// .use(plugin)
.get('/id/:id?', 'a')
.listen(3000)
console.log(app.routes)