From e2e9a9aa5c567db748bed1a27198c60ff9ce4991 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 18 Oct 2022 18:32:31 +0300 Subject: [PATCH] fix Google Search Console compatibility --- packages/next-sitemap/src/builders/sitemap-builder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-sitemap/src/builders/sitemap-builder.ts b/packages/next-sitemap/src/builders/sitemap-builder.ts index cc01be7c..05de8634 100644 --- a/packages/next-sitemap/src/builders/sitemap-builder.ts +++ b/packages/next-sitemap/src/builders/sitemap-builder.ts @@ -22,7 +22,7 @@ export class SitemapBuilder { buildSitemapIndexXml(allSitemaps: string[]) { return [ '', - '', + '', ...(allSitemaps?.map((x) => `${x}`) ?? []), '', ].join('\n')