best way to route within subfolder. #1731
-
I am running different API's on the same URL. (With separate codebases) for now my "color-names" api is running here: https://api.color.pizza/v1/ In the future I want to have:
I want to avoid having to add const router = new Router({
host: /^(.*\.)?color\.pizza\/palettes\/v1/
}) |
Beta Was this translation helpful? Give feedback.
Answered by
jonathanong
Aug 29, 2024
Replies: 1 comment
-
you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jonathanong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can use
koa-mount
for this