Skip to content

Commit a7c5754

Browse files
committed
fix(site): allow /api/og/ and social card crawlers in robots.txt
1 parent 4df698b commit a7c5754

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const GET: APIRoute = async ({ locals }) => {
2222
? `User-Agent: *
2323
Content-Signal: ai-train=no, search=yes, ai-input=yes
2424
Allow: /
25+
Allow: /api/og/
2526
Allow: /api/search
2627
Allow: /api/mcp
2728
Allow: /.well-known/
@@ -33,6 +34,15 @@ Allow: /pricing.md
3334
Disallow: /api/
3435
Disallow: /dashboard/
3536
37+
User-Agent: Twitterbot
38+
Allow: /
39+
40+
User-Agent: facebookexternalhit
41+
Allow: /
42+
43+
User-Agent: LinkedInBot
44+
Allow: /
45+
3646
User-Agent: GPTBot
3747
Allow: /
3848

0 commit comments

Comments
 (0)