Skip to content

Commit b399af9

Browse files
committed
fix: add /evals page to sitemap generation
The /evals page is a dynamic route and wasn't being included in the sitemap automatically. Added it explicitly to the additionalPaths function to ensure it's included in the generated sitemap with proper priority (0.8) and change frequency (monthly).
1 parent 3d2673b commit b399af9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ 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+
const result = [];
56+
57+
// Add the /evals page since it's a dynamic route
58+
result.push({
59+
loc: '/evals',
60+
changefreq: 'monthly',
61+
priority: 0.8,
62+
lastmod: new Date().toISOString(),
63+
});
64+
65+
return result;
5666
},
5767
};

0 commit comments

Comments
 (0)