You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't use any next-intl function on this page, the user never get redirected. This is kind of an edge case (a big one even), but it could be nice knowing it. Maybe should it be added to the documentation ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
About this section of the documentation
It's said that routes not matching the middleware filter end up in 404. That's not exactly true, consider the following example
Don't work (user land on
[locale]/page.tsx
)Works
If you don't use any next-intl function on this page, the user never get redirected. This is kind of an edge case (a big one even), but it could be nice knowing it. Maybe should it be added to the documentation ?
:)
Beta Was this translation helpful? Give feedback.
All reactions