-
For example, let's say I have the following routes:
I see that I can get the Is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
fengmk2
Jan 24, 2024
Replies: 1 comment 2 replies
-
if you are use koa router (https://github.com/koajs/router/blob/master/lib/router.js#L392), you can access matched and routerPath from ctx. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
naydichev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you are use koa router (https://github.com/koajs/router/blob/master/lib/router.js#L392), you can access matched and routerPath from ctx.