Replies: 1 comment 1 reply
-
I think you could probably add I'll move this to a discussion since it's a usage question. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
We have an app that uses both localized pathnames for few static paths but rest of the routes are handled by our CMS. We handle our routes with
src/app/[locale]/[[...slug]]
app router path, but we want to define few routes in the config, eg.:but this doesn't seem to be possible, as
redirect
expects thehref
to be on of thepathnames
defined, when it should bestring | pathnames
?Describe the solution you'd like
Allow mixing localized paths and unknown routing
Describe alternatives you've considered
We've currently had to resort on using our own middleware to handle localized paths
Beta Was this translation helpful? Give feedback.
All reactions