diff --git a/lib/generateSitemap.ts b/lib/generateSitemap.ts index 668cb92..e53b6d8 100644 --- a/lib/generateSitemap.ts +++ b/lib/generateSitemap.ts @@ -44,7 +44,7 @@ export async function generateSitemap() { ] const pages = (await glob(['*.tsx', '*.jsx'], { - cwd: path.join(process.cwd(), 'src/pages/'), + cwd: path.join(process.cwd(), '/pages/'), })).filter((page) => { return !excluded .includes(page)