next.config.js 593 字节
Newer Older
1 2
module.exports = {
  // target: 'experimental-serverless-trace',
J
Joe Haddad 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  i18n: {
    locales: ['nl-NL', 'nl-BE', 'nl', 'fr-BE', 'fr', 'en-US', 'en'],
    defaultLocale: 'en-US',
    domains: [
      {
        // used for testing, this should not be needed in most cases
        // as production domains should always use https
        http: true,
        domain: 'example.be',
        defaultLocale: 'nl-BE',
        locales: ['nl', 'nl-NL', 'nl-BE'],
      },
      {
        http: true,
        domain: 'example.fr',
        defaultLocale: 'fr',
        locales: ['fr-BE'],
      },
    ],
22 23
  },
}