Snapshot of uncommitted work: landing, bots, prod infra, partner cabinet, backoffice stage 1

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zabudko-ruandClaude Opus 5.5 committed 2026-10-21 01:23:32 +04:00
1 parent 45d7512d2b
commit d452824c62
314 files changed
+44394 -121

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
import type { MetadataRoute } from 'next';
import { SITE } from '../lib/seo';
/**
* Всем поисковикам и ботам ИИ (ChatGPT, Perplexity, Claude, Gemini) — можно всё, кроме служебных адресов.
* Боты ИИ перечислены явно: так видно, что доступ им открыт намеренно.
*/
const AI_BOTS = [
'OAI-SearchBot',
'ChatGPT-User',
'GPTBot',
'PerplexityBot',
'Perplexity-User',
'Claude-SearchBot',
'Claude-User',
'ClaudeBot',
'Google-Extended',
'Applebot-Extended',
];
export default function robots(): MetadataRoute.Robots {
// API и файлы на том же домене (nginx проксирует их в barev-app) — в поиске не нужны
const disallow = ['/trpc/', '/files/', '/client-log'];
return {
rules: [
{ userAgent: '*', allow: '/', disallow },
{ userAgent: AI_BOTS, allow: '/', disallow },
],
sitemap: `${SITE}/sitemap.xml`,
};
}