diff --git a/src/plugin/onCreatePage.ts b/src/plugin/onCreatePage.ts index d5dc90b..d229182 100644 --- a/src/plugin/onCreatePage.ts +++ b/src/plugin/onCreatePage.ts @@ -105,9 +105,6 @@ export const onCreatePage = async ( if (regexp.test(localePage.path)) { localePage.matchPath = `/${lng}/*`; } - if (localePage.matchPath !== undefined) { - localePage.matchPath = `/${lng}${localePage.matchPath}`; - } createPage(localePage); }); };