From b399af97dcb38d55ba11f8a2c4fa55e3b09c1b6b Mon Sep 17 00:00:00 2001 From: daniel-lxs Date: Thu, 14 Aug 2025 11:05:02 -0500 Subject: [PATCH 1/2] 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). --- apps/web-roo-code/next-sitemap.config.cjs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/web-roo-code/next-sitemap.config.cjs b/apps/web-roo-code/next-sitemap.config.cjs index ae9b4b55ba..df8600405f 100644 --- a/apps/web-roo-code/next-sitemap.config.cjs +++ b/apps/web-roo-code/next-sitemap.config.cjs @@ -52,6 +52,16 @@ 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 []; + const result = []; + + // 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; }, }; \ No newline at end of file From 882c645bb2a85197681deacc387c4581b4879abd Mon Sep 17 00:00:00 2001 From: Daniel <57051444+daniel-lxs@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:39:42 -0500 Subject: [PATCH 2/2] Update apps/web-roo-code/next-sitemap.config.cjs Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com> --- apps/web-roo-code/next-sitemap.config.cjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web-roo-code/next-sitemap.config.cjs b/apps/web-roo-code/next-sitemap.config.cjs index df8600405f..e9b0ca3c47 100644 --- a/apps/web-roo-code/next-sitemap.config.cjs +++ b/apps/web-roo-code/next-sitemap.config.cjs @@ -52,7 +52,13 @@ 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 - const result = []; + // 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({