Skip to content

Commit c84d03b

Browse files
committed
fix(site): remove Disallow /api/ so all social, search, and AI bots can crawl OG cards and APIs
1 parent a7c5754 commit c84d03b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎apps/site/src/pages/robots.txt.ts‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const GET: APIRoute = async ({ locals }) => {
2020

2121
const body = isProduction
2222
? `User-Agent: *
23-
Content-Signal: ai-train=no, search=yes, ai-input=yes
23+
Content-Signal: ai-train=yes, search=yes, ai-input=yes
2424
Allow: /
2525
Allow: /api/og/
2626
Allow: /api/search
@@ -31,12 +31,21 @@ Allow: /llms-full.txt
3131
Allow: /auth.md
3232
Allow: /AGENTS.md
3333
Allow: /pricing.md
34-
Disallow: /api/
3534
Disallow: /dashboard/
35+
Disallow: /guest-portal/
3636
3737
User-Agent: Twitterbot
3838
Allow: /
3939
40+
User-Agent: Redditbot
41+
Allow: /
42+
43+
User-Agent: Discordbot
44+
Allow: /
45+
46+
User-Agent: Slackbot
47+
Allow: /
48+
4049
User-Agent: facebookexternalhit
4150
Allow: /
4251

0 commit comments

Comments
 (0)