-
Notifications
You must be signed in to change notification settings - Fork 27.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[i18n] redirects defined in next.config.js doesn't work on Vercel #18795
Comments
I am experiencing the same issue with next.js 10.0.1. |
I am facing the same issue on 10.0.1. redirects work fine on localhost but not deployed via Vercel |
Hi, this has been updated in the latest canary of Next.js |
@ijjk thank you! But in Next.js For example If we have i18n config and redirect like this one we will be redirected from Also found unnecessary redirect for config and in this case we have three redirects instead of two: |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
redirects
defined withi18n
config innext.config.js
doesn't work when deploying to Vercel, but work in dev.Expected behavior
redirects
withi18n
should work when deploy to Vercel.System information
The text was updated successfully, but these errors were encountered: