mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Fix astro template urls not added to sitemap
This commit is contained in:
parent
8c4700c7ea
commit
d2f86aba5f
1 changed files with 6 additions and 2 deletions
|
|
@ -707,8 +707,12 @@ class BuildLists {
|
|||
|
||||
// Add routes for Astro pages
|
||||
const astroPageUrls = await getUrlsForAstroDefinedPages()
|
||||
|
||||
console.log( 'astroPageUrls', astroPageUrls )
|
||||
astroPageUrls.forEach( url => {
|
||||
sitemapEndpoints.push({
|
||||
route: url,
|
||||
payload: {}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
// Save sitemap endpoints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue