mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 23:15: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'], {
|
const pages = (await glob(['*.tsx', '*.jsx'], {
|
||||||
cwd: path.join(process.cwd(), 'src/pages/'),
|
cwd: path.join(process.cwd(), '/pages/'),
|
||||||
})).filter((page) => {
|
})).filter((page) => {
|
||||||
return !excluded
|
return !excluded
|
||||||
.includes(page)
|
.includes(page)
|
||||||
|
Loading…
Reference in New Issue
Block a user