Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix: allow /api/og in robots.txt so Twitter can fetch OG images

Gener32aebbc0f472
diff --git a/src/web/src/app/robots.ts b/src/web/src/app/robots.ts
index e2eb3c76f..06590e9ec 100644
--- a/src/web/src/app/robots.ts
+++ b/src/web/src/app/robots.ts
@@ -5,7 +5,7 @@ export default function robots(): MetadataRoute.Robots {
rules: [
{
userAgent: "*",
- allow: "/",
+ allow: ["/", "/api/og"],
disallow: ["/w/", "/workspaces", "/api/"],
},
],