We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0086010 commit e62cd5fCopy full SHA for e62cd5f
packages/utils/src/internals/sitemap.ts
@@ -551,7 +551,7 @@ export async function* discoverValidSitemaps(
551
return firstUrl.toString();
552
});
553
const candidateResults = await Promise.allSettled(
554
- candidateSitemapUrls.map((candidateSitemapUrl) => urlExists(candidateSitemapUrl)),
+ candidateSitemapUrls.map(urlExists),
555
);
556
557
for (const [index, result] of candidateResults.entries()) {
0 commit comments