Skip to content

Commit 253d5ac

Browse files
fix: add /evals page to sitemap generation (#7102)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
1 parent 3d2673b commit 253d5ac

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

apps/web-roo-code/next-sitemap.config.cjs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,22 @@ module.exports = {
5252
additionalPaths: async (config) => {
5353
// Add any additional paths that might not be automatically discovered
5454
// This is useful for dynamic routes or API-generated pages
55-
return [];
55+
// Add the /evals page since it's a dynamic route
56+
return [{
57+
loc: '/evals',
58+
changefreq: 'monthly',
59+
priority: 0.8,
60+
lastmod: new Date().toISOString(),
61+
}];
62+
63+
// Add the /evals page since it's a dynamic route
64+
result.push({
65+
loc: '/evals',
66+
changefreq: 'monthly',
67+
priority: 0.8,
68+
lastmod: new Date().toISOString(),
69+
});
70+
71+
return result;
5672
},
5773
};

0 commit comments

Comments
 (0)