mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -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
|
// 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue