We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a881539 + e4cea96 commit 0bbbdddCopy full SHA for 0bbbddd
src/core.ts
@@ -128,8 +128,7 @@ export async function crawl(config: Config) {
128
],
129
});
130
131
- const SITEMAP_SUFFIX = "sitemap.xml";
132
- const isUrlASitemap = config.url.endsWith(SITEMAP_SUFFIX);
+ const isUrlASitemap = /sitemap.*\.xml$/.test(config.url);
133
134
if (isUrlASitemap) {
135
const listOfUrls = await downloadListOfUrls({ url: config.url });
0 commit comments