diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index bcc5259..196eea9 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -4,7 +4,7 @@ const getRobotsTxt = (sitemapURL: URL) => ` User-agent: * Allow: / -Sitemap: ${sitemapURL.href} +Sitemap: ${sitemapURL.href + sitemapURL.pathname} `; export const GET: APIRoute = ({ site }) => {