File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,14 @@ const DISALLOWED_PATHS = [
2424/**
2525 * Tighter disallow list for link-preview bots. They fetch single URLs to
2626 * render Open Graph cards rather than crawl, so publicly-shareable surfaces
27- * like /chat/, /form/, and /w/ must be reachable for previews to render.
27+ * like /chat/ and /form/ must be reachable for previews to render. Other
28+ * authenticated routes (/workspace/, /w/, /playground/) stay blocked.
2829 */
2930const LINK_PREVIEW_DISALLOWED_PATHS = [
3031 '/api/' ,
3132 '/workspace/' ,
33+ '/w/' ,
34+ '/playground/' ,
3235 '/resume/' ,
3336 '/invite/' ,
3437 '/unsubscribe/' ,
@@ -49,7 +52,6 @@ const SEARCH_AND_AI_BOTS = [
4952 'Bingbot' ,
5053 'DuckDuckBot' ,
5154 'Kagibot' ,
52- 'Bravebot' ,
5355 // Regional search engines
5456 'YandexBot' ,
5557 'Baiduspider' ,
@@ -82,7 +84,9 @@ const SEARCH_AND_AI_BOTS = [
8284 'CCBot' ,
8385 'cohere-ai' ,
8486 'cohere-training-data-crawler' ,
85- 'Grok-web-crawl' ,
87+ 'GrokBot' ,
88+ 'xAI-Grok' ,
89+ 'Grok-DeepSearch' ,
8690 'MistralAI-User' ,
8791 'DeepSeek-AI' ,
8892 'YouBot' ,
You can’t perform that action at this time.
0 commit comments