diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index c46edb8..a7102c1 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -21,6 +21,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)) }