diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-19 14:45:06 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-19 14:47:40 +0100 |
| commit | 1fa8d8281371db25ef9382b6087b7f3c0db73fe3 (patch) | |
| tree | 898aee1e9a23c06e9658de240474d90870190e68 /src/config/website.ts | |
| parent | a26b775b7bbf1abd3e99c8bf9ce4c7522d3a0adc (diff) | |
refactor(config): move defaultLocale as property of config.locales
I will need the country code, so I think it makes more sense to gather
them inside the same property.
Diffstat (limited to 'src/config/website.ts')
| -rw-r--r-- | src/config/website.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config/website.ts b/src/config/website.ts index d8721c5..12645a7 100644 --- a/src/config/website.ts +++ b/src/config/website.ts @@ -7,7 +7,10 @@ export const config = { startYear: '2012', endYear: new Date().getFullYear(), }, - defaultLocale: 'fr', + locales: { + defaultLocale: 'fr', + defaultCountry: 'FR', + }, postsPerPage: 10, url: process.env.NEXT_PUBLIC_FRONTEND_URL, }; |
