Fixed issue with sitemap generation

This commit is contained in:
r-freeman 2023-01-26 23:43:15 +00:00
parent bf8c522ef0
commit d2153b38e0

View File

@ -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)