mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-06 00:36:10 +00:00
🧹 chore: support optional path parameter
This commit is contained in:
@@ -39,7 +39,6 @@ const app = new Elysia()
|
||||
}
|
||||
})
|
||||
)
|
||||
.use(plugin)
|
||||
// .use(plugin)
|
||||
.get('/id/:id?', 'a')
|
||||
.listen(3000)
|
||||
|
||||
console.log(app.routes)
|
||||
|
||||
Reference in New Issue
Block a user