diff --git a/apps/api/src/scraper/WebScraper/index.ts b/apps/api/src/scraper/WebScraper/index.ts index 1817a07b8..e0e751555 100644 --- a/apps/api/src/scraper/WebScraper/index.ts +++ b/apps/api/src/scraper/WebScraper/index.ts @@ -393,9 +393,7 @@ export class WebScraperDataProvider { } private applyPathReplacements(documents: Document[]): Document[] { - if (this.replaceAllPathsWithAbsolutePaths) { - documents = replacePathsWithAbsolutePaths(documents); - } + documents = replacePathsWithAbsolutePaths(documents); return replaceImgPathsWithAbsolutePaths(documents); }