Update changefreq in sitemap

This commit is contained in:
r-freeman 2023-01-28 22:40:06 +00:00
parent e3d378ccdc
commit 1c917ed26d

View File

@ -13,7 +13,7 @@ async function createSitemap(pages: string[]) {
`<url>
<loc>${url}</loc>
<lastmod>${new Date().toISOString()}</lastmod>
<changefreq>monthly</changefreq>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>`).join('')}
</urlset>`.replace(/(\s\s+|\t)/g, ' ').trim()