fix: add /evals page to sitemap generation (#7102)

Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
This commit is contained in:
Daniel 2025-08-14 11:48:32 -05:00 committed by GitHub
parent 3d2673bb28
commit 253d5acc09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,22 @@ module.exports = {
additionalPaths: async (config) => {
// Add any additional paths that might not be automatically discovered
// This is useful for dynamic routes or API-generated pages
return [];
// Add the /evals page since it's a dynamic route
return [{
loc: '/evals',
changefreq: 'monthly',
priority: 0.8,
lastmod: new Date().toISOString(),
}];
// Add the /evals page since it's a dynamic route
result.push({
loc: '/evals',
changefreq: 'monthly',
priority: 0.8,
lastmod: new Date().toISOString(),
});
return result;
},
};