dynamic api routes for fresh. #635
-
I know you can do [name].tsx for dynamic route, but what about api/[name].ts for dynamic api routes. |
Beta Was this translation helpful? Give feedback.
Answered by
JoshGuarino
Aug 19, 2022
Replies: 1 comment
-
I was able to figure it out. _ctx.params is what I was looking for |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JoshGuarino
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to figure it out. _ctx.params is what I was looking for