Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: Deduplicate changelog URLs by date
Sushmithamallesh committed
Jan 27, 2026 at 22:30 UTC
03626f48f7fac8458ee517bc06e835edc7f952f0
1 file changed
+4
-3
docs/app/sitemap.ts
+4
-3
@@ -49,9 +49,10 @@ export default function sitemap(): MetadataRoute.Sitemap {
49
url: `${baseUrl}/toolkits/${toolkit.slug}`,
50
}));
51
52
- // Changelog pages
53
- const changelogPages = [...changelogEntries].map((entry) => ({
54
- url: `${baseUrl}${dateToChangelogUrl(entry.date)}`,
52
+ // Changelog pages (deduplicate by date since multiple entries can share the same date)
53
+ const uniqueChangelogDates = [...new Set([...changelogEntries].map((entry) => entry.date))];
54
+ const changelogPages = uniqueChangelogDates.map((date) => ({
55
+ url: `${baseUrl}${dateToChangelogUrl(date)}`,
56
}));
57
58
return [