mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
always replace paths with absolutes
This commit is contained in:
parent
dbcf2d7ff6
commit
256a98b86e
|
@ -393,9 +393,7 @@ export class WebScraperDataProvider {
|
|||
}
|
||||
|
||||
private applyPathReplacements(documents: Document[]): Document[] {
|
||||
if (this.replaceAllPathsWithAbsolutePaths) {
|
||||
documents = replacePathsWithAbsolutePaths(documents);
|
||||
}
|
||||
documents = replacePathsWithAbsolutePaths(documents);
|
||||
return replaceImgPathsWithAbsolutePaths(documents);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user