fix(crawler): treat XML files as sitemaps (temporarily)

This commit is contained in:
Gergő Móricz 2024-11-15 20:09:20 +01:00
parent ca2e33db0a
commit 350d00d27a

View File

@ -362,7 +362,7 @@ export class WebCrawler {
}; };
const sitemapUrl = url.endsWith("/sitemap.xml") const sitemapUrl = url.endsWith(".xml")
? url ? url
: `${url}/sitemap.xml`; : `${url}/sitemap.xml`;