mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:45:41 +00:00
Fixed issue with sitemap generation
This commit is contained in:
parent
bf8c522ef0
commit
d2153b38e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user