This commit is contained in:
Raven Scott 2024-09-25 23:57:59 -04:00
parent 830a51c334
commit 0a84015943

2
app.js
View File

@ -265,7 +265,7 @@ app.get('/sitemap.xml', (req, res) => {
const lastModifiedDate = format(new Date(stats.birthtime), 'yyyy-MM-dd'); const lastModifiedDate = format(new Date(stats.birthtime), 'yyyy-MM-dd');
return { return {
url: `https://blog.raven-scott.fyi/${slug}`, url: `/blog/${slug}`,
lastmod: lastModifiedDate, lastmod: lastModifiedDate,
changefreq: 'monthly', changefreq: 'monthly',
priority: 0.9 priority: 0.9