Environment
Not work for /api/user/test/ and /api/user/test only /api/user/test/' when path is '/api/user/test/:all?
Reproduction
export default defineNitroPlugin((nitroApp) => {
nitroApp.router.use('/api/user/test/:all?', defineEventHandler(async (event) => {
return 'Not work for /api/user/test/ and /api/user/test only /api/user/test/<something>'
}))
})
Describe the bug
not work always
Additional context
No response
Logs
Environment
Not work for /api/user/test/ and /api/user/test only /api/user/test/' when path is '/api/user/test/:all?
Reproduction
Describe the bug
not work always
Additional context
No response
Logs