Replies: 2 comments
-
I'm getting a 200 in your deployed example: Did you fix something after posting this? If a 404 is triggered, it's typically caused by the middleware not matching a given request (see "Unable to find next-intl locale because the middleware didn't run on this request."). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'll move this to a discussion since it seems to be a usage question and not a bug report, esp. since you mention that it works locally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
When I have i18n routing setup with server actions, it is giving me a 404 error. It seems to be an issue with the locales dynamic routes? I am also using
unstable_setRequestLocale
in my server component. I have tried with and without static generation and neither work.Server action also works locally but not when deployed
Verifications
Mandatory reproduction URL
https://github.com/0xHoneyJar/minimal-reprod
Reproduction description
Steps to reproduce:
Expected behaviour
The server actions should be found and operate normally.
Beta Was this translation helpful? Give feedback.
All reactions