From 97e20b5cafdd4847ef0b063a37661f6c81bff4e8 Mon Sep 17 00:00:00 2001 From: cojocaru-david Date: Fri, 2 May 2025 17:44:03 +0300 Subject: [PATCH] Update sitemap URL in robots.txt to point to sitemap.xml --- src/pages/robots.txt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index 679a44d..49653a0 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -8,6 +8,6 @@ Sitemap: ${sitemapURL.href} ` export const GET: APIRoute = ({ site }) => { - const sitemapURL = new URL('sitemap-index.xml', site) + const sitemapURL = new URL('sitemap.xml', site) return new Response(getRobotsTxt(sitemapURL)) }