-
Notifications
You must be signed in to change notification settings - Fork 30
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
NextJS trailingSlash not supported #4
Comments
Hi @git-chrisp, I added the trailing slash option to the |
Reproduction: https://github.com/git-chrisp/next-translate-routes-nextjs-trailing-slash-bug When visiting localhost:3000/de/ the following error is printed in the console:
|
At first, I could not reproduce: I don't know why, but I did not get the warning on Firefox. I tried on Chromium - just in case - and I got it. |
Done. Please reopen this if it is not fixed for you. |
@cvolant on next v13 I have the same problem. |
Hi, I also get this error too while having trailing slash option true in next.config.js |
NextJS has an option to configure trailing slashes in URLs: https://nextjs.org/docs/api-reference/next.config.js/trailing-slash
At the moment, this option causes mismatches between server and client.
The text was updated successfully, but these errors were encountered: