fix sitemap
This commit is contained in:
parent
ce301fcc77
commit
de3d09e1de
6
app.js
6
app.js
@ -242,9 +242,9 @@ app.get('/sitemap.xml', (req, res) => {
|
||||
|
||||
// Static URLs (e.g., homepage, about, contact)
|
||||
const staticUrls = [
|
||||
{ url: '/', changefreq: 'weekly', priority: 1.0 },
|
||||
{ url: '/about', changefreq: 'monthly', priority: 0.8 },
|
||||
{ url: '/contact', changefreq: 'monthly', priority: 0.8 }
|
||||
{ url: 'https://raven-scott.fyi/', changefreq: 'weekly', priority: 1.0 },
|
||||
{ url: 'https://raven-scott.fyi/about', changefreq: 'monthly', priority: 0.8 },
|
||||
{ url: 'https://raven-scott.fyi/contact', changefreq: 'monthly', priority: 0.8 }
|
||||
];
|
||||
|
||||
// Dynamic URLs (e.g., blog posts)
|
||||
|
Loading…
Reference in New Issue
Block a user