From 256a98b86e988e4f307279b63765eb08f01a3652 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:14:43 -0300 Subject: [PATCH] always replace paths with absolutes --- apps/api/src/scraper/WebScraper/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }