fix(v1): maxDepth

This commit is contained in:
rafaelsideguide
2024-09-02 09:55:35 -03:00
parent 86b0477708
commit 036eb925a2
+1 -1
View File
@@ -302,7 +302,7 @@ export function legacyCrawlerOptions(x: CrawlerOptions) {
includes: x.includePaths, includes: x.includePaths,
excludes: x.excludePaths, excludes: x.excludePaths,
maxCrawledLinks: x.limit, maxCrawledLinks: x.limit,
maxCrawledDepth: x.maxDepth, maxDepth: x.maxDepth,
limit: x.limit, limit: x.limit,
generateImgAltText: false, generateImgAltText: false,
allowBackwardCrawling: x.allowBackwardLinks, allowBackwardCrawling: x.allowBackwardLinks,