Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update map.ts

Nicolas8c4027179628
diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts
index 332fade6d..582d8ee2f 100644
--- a/apps/api/src/controllers/v1/map.ts
+++ b/apps/api/src/controllers/v1/map.ts
@@ -302,7 +302,7 @@ export async function getMapResults({
id,
{
originUrl: url,
- visitedUrls: linksToReturn,
+ visitedUrls: linksToReturn.filter(link => link !== url),
},
{
priority: 10,