fix sitemap

This commit is contained in:
Raven Scott 2024-09-26 00:23:19 -04:00
parent ce301fcc77
commit de3d09e1de

6
app.js
View File

@ -242,9 +242,9 @@ app.get('/sitemap.xml', (req, res) => {
// Static URLs (e.g., homepage, about, contact) // Static URLs (e.g., homepage, about, contact)
const staticUrls = [ const staticUrls = [
{ url: '/', changefreq: 'weekly', priority: 1.0 }, { url: 'https://raven-scott.fyi/', changefreq: 'weekly', priority: 1.0 },
{ url: '/about', changefreq: 'monthly', priority: 0.8 }, { url: 'https://raven-scott.fyi/about', changefreq: 'monthly', priority: 0.8 },
{ url: '/contact', changefreq: 'monthly', priority: 0.8 } { url: 'https://raven-scott.fyi/contact', changefreq: 'monthly', priority: 0.8 }
]; ];
// Dynamic URLs (e.g., blog posts) // Dynamic URLs (e.g., blog posts)