From 3c1b1909f8fb8f3157039ef27099fa97d78a521a Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 14 Nov 2024 17:52:15 -0500 Subject: [PATCH] Update map.ts --- apps/api/src/controllers/v1/map.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts index 64e0025a..81739a0b 100644 --- a/apps/api/src/controllers/v1/map.ts +++ b/apps/api/src/controllers/v1/map.ts @@ -61,6 +61,7 @@ export async function mapController( sitemap.forEach((x) => { links.push(x.url); }); + links = links.slice(1, limit); } } else { let urlWithoutWww = req.body.url.replace("www.", "");