Skip to content

Commit 25441d3

Browse files
committed
fix(website): robots.txt also advertises the proxied docs sitemap
agenta.ai/docs/* proxies the docs site via legacy zone routing, and the old zone-level robots override existed mainly to advertise the docs sitemap. Listing it here means removing that override loses nothing. Claude-Session: https://claude.ai/code/session_013Qe1Vf2yvj33BVd5W1q7HB
1 parent 7b38504 commit 25441d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/src/pages/robots.txt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const GET: APIRoute = () => {
1111

1212
const body = noindex
1313
? "User-agent: *\nDisallow: /"
14-
: "# Agenta marketing site (https://agenta.ai)\n# Allow all crawlers full access; point them at the generated sitemap index.\nUser-agent: *\nAllow: /\n\nSitemap: https://agenta.ai/sitemap-index.xml\n";
14+
: "# Agenta marketing site (https://agenta.ai)\n# Allow all crawlers full access; point them at the generated sitemap index.\n# The docs sitemap is listed too because agenta.ai/docs/* proxies the docs site.\nUser-agent: *\nAllow: /\n\nSitemap: https://agenta.ai/sitemap-index.xml\nSitemap: https://agenta.ai/docs/sitemap.xml\n";
1515

1616
return new Response(body, {
1717
headers: { "Content-Type": "text/plain; charset=utf-8" },

0 commit comments

Comments
 (0)