From 253d5acc090e704002105a906e5085cb6703973c Mon Sep 17 00:00:00 2001 From: Daniel <57051444+daniel-lxs@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:48:32 -0500 Subject: [PATCH] fix: add /evals page to sitemap generation (#7102) Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com> --- apps/web-roo-code/next-sitemap.config.cjs | 18 +++++++++++++++++- 1 file changed, 17 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..e9b0ca3c47 100644 --- a/apps/web-roo-code/next-sitemap.config.cjs +++ b/apps/web-roo-code/next-sitemap.config.cjs @@ -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; }, }; \ No newline at end of file