You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Middleware runs before the router in the stack. Making it possible requires changing the underlying design of h3 middleware. (PS: route params actually make sense in a matched route not middleware before them)
Environment
Nitro:
1.0.0
Node.js:
16.16.0
Reproduction
Repo: https://github.com/sasial-dev/nitro-middleware-repro
yarn dev
Describe the bug
getRouterParam
/getRouterParams
are empty in middleware.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: