mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 00:20:41 +08:00
fix(map): ignore limit when using sitemapOnly
This commit is contained in:
parent
63787bc504
commit
a4d3dba865
@ -61,7 +61,7 @@ export async function mapController(
|
|||||||
sitemap.forEach((x) => {
|
sitemap.forEach((x) => {
|
||||||
links.push(x.url);
|
links.push(x.url);
|
||||||
});
|
});
|
||||||
links = links.slice(1, limit);
|
// links = links.slice(1, limit); // don't slice, unnecessary
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let urlWithoutWww = req.body.url.replace("www.", "");
|
let urlWithoutWww = req.body.url.replace("www.", "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user