Fix astro template urls not added to sitemap

This commit is contained in:
Sam Carlton 2022-06-11 18:50:19 -05:00
parent 8c4700c7ea
commit d2f86aba5f

View file

@ -707,8 +707,12 @@ class BuildLists {
// Add routes for Astro pages // Add routes for Astro pages
const astroPageUrls = await getUrlsForAstroDefinedPages() const astroPageUrls = await getUrlsForAstroDefinedPages()
astroPageUrls.forEach( url => {
console.log( 'astroPageUrls', astroPageUrls ) sitemapEndpoints.push({
route: url,
payload: {}
})
})
// Save sitemap endpoints // Save sitemap endpoints