75509164ab
This ensures we detect domain specific locales and redirect them client-side. Tests have been added in the `i18n` suite to ensure the domain redirect is applied correctly during a client-side navigation Fixes: https://github.com/vercel/next.js/issues/19174
15 lines
277 B
JavaScript
15 lines
277 B
JavaScript
module.exports = {
|
|
i18n: {
|
|
// localeDetection: false,
|
|
locales: ['nl-NL', 'nl-BE', 'nl', 'fr-BE', 'fr', 'en'],
|
|
defaultLocale: 'en',
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/company/about-us',
|
|
},
|
|
]
|
|
},
|
|
}
|