diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index 76c1a23b..cf9107f9 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -2,7 +2,7 @@ import type { APIRoute } from "astro"; const robotsTxt = ` User-agent: * -Allow: / +Disallow: /_astro/ Sitemap: ${new URL("sitemap-index.xml", import.meta.env.SITE).href} `.trim();