Only create locale domain links if on locale domain (#22032)
This updates to only create locale domain links if the current hostname is a locale domain to prevent making links unvisitable in development and preview environments where the configured locale domains don't point to the current build. Closes: https://github.com/vercel/next.js/issues/21211 Closes: https://github.com/vercel/next.js/issues/22011
Showing
Please
register
or
sign in
to comment