Closed AlbertSabate closed 2 weeks ago
Can you check the req.finalURL
? We check the i18n here:
The value after the request is request.finalURL
On the server actions build, is importing all the code of the navigate
import, including the "constants", that are different from after the standalone build (server.js file). That's wrong. The incorrect constants does not have the I18N_CONFIG because does not found the i18n.js
file there.
v0.1.5-canary.4 fixes this issue.
Describe the bug When using a navigate on a server actions seems to navigate without considering i18n. When having i18n enabled.
Example:
navigate('/admin') navigates to /admin instead of /en/admin