Merge pull request #77 from tractorjuice/patch-1

Add additional file extensions to crawler.ts
This commit is contained in:
Nicolas 2024-05-22 10:16:49 -07:00 committed by GitHub
commit 0d187f0425
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -324,6 +324,12 @@ export class WebCrawler {
// ".docx",
".xlsx",
".xml",
".avi",
".flv",
".woff",
".ttf",
".woff2",
".webp"
];
return fileExtensions.some((ext) => url.endsWith(ext));
}