From 46362e7567732a4c26d9ca5ebc75e7883f3ac65c Mon Sep 17 00:00:00 2001 From: Sh Raj Date: Mon, 1 Apr 2024 11:35:27 +0530 Subject: [PATCH] Update route.js --- src/app/sitemapsh/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/sitemapsh/route.js b/src/app/sitemapsh/route.js index 9c2a7b9..0d88f16 100644 --- a/src/app/sitemapsh/route.js +++ b/src/app/sitemapsh/route.js @@ -12,7 +12,7 @@ export async function GET(req) { let xml = ''; xml += ''; - for (let i = 0; i < 1001; i++) { + for (let i = 1; i < 1001; i++) { xml += ""; xml += `${url.origin}/sitemapsh/${i || Math.floor(Math.random()*1000)}`; // Modify URL structure as needed xml += "";