feat: remove redundant /en

This commit is contained in:
tresabhi committed 2025-01-10 20:38:28 -06:00
1 parent e4558d978c
commit cb3e759f75
2 files changed
+15 -3

No files matched your search

@@ -33,7 +33,9 @@ const strings = getStrings(Astro.params.locale);
export const getStaticPaths = (() => {
return [
...SUPPORTED_LOCALES.map((locale) => ({ params: { locale } })),
...SUPPORTED_LOCALES.filter((locale) => locale !== DEFAULT_LOCALE).map(
(locale) => ({ params: { locale } }),
),
{ params: { locale: undefined } },
];
}) satisfies GetStaticPaths;