forked from snxraven/ravenscott-blog
update
This commit is contained in:
parent
830a51c334
commit
0a84015943
2
app.js
2
app.js
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user