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

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: `/blog/${slug}`, url: `https://blog.raven-scott.fyi/${slug}`,
lastmod: lastModifiedDate, lastmod: lastModifiedDate,
changefreq: 'monthly', changefreq: 'monthly',
priority: 0.9 priority: 0.9