fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit b9d1eb2a48 - Show all commits

View file

@ -915,7 +915,7 @@ export class KBService implements IGBKBService {
const isIgnored = websiteIgnoreUrls.split(";").some(ignoredUrl => p.href.includes(ignoredUrl));
return !isIgnored && currentDomain == new URL(p.href).hostname;
} catch (err) {
return false;
}
@ -946,7 +946,7 @@ export class KBService implements IGBKBService {
const childLinks = [];
for (const link of filteredLinks) {
const links = await this.crawl(min, link, visited, depth + 1, maxDepth, page);
const links = await this.crawl(min, link, visited, depth + 1, maxDepth, page, websiteIgnoreUrls);
if (links) {
childLinks.push(...links);
}