mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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:
parent
3d2673bb28
commit
253d5acc09
1 changed files with 17 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue