Skip to content

Commit 806a32a

Browse files
committed
chore: disallow crawlers from session launch URLs in robots.txt
1 parent fd22fd0 commit 806a32a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

client/server/constants.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ export const SITEMAP = `<?xml version="1.0" encoding="UTF-8"?>
4343
<loc>${BASE_URL}/help/release</loc>
4444
</url>
4545
</urlset>`;
46-
export const ROBOTS = `Sitemap: ${BASE_URL} /sitemap.xml`;
46+
export const ROBOTS = `User-agent: Applebot
47+
User-agent: AhrefsBot
48+
User-agent: GPTBot
49+
User-agent: ClaudeBot
50+
User-agent: Google-Extended
51+
Disallow: /p/*/sessions/*/start
52+
53+
Sitemap: ${BASE_URL}/sitemap.xml`;
4754
export const CONFIG_JSON = {
4855
UI_VERSION: process.env.UI_VERSION || "",
4956
RENKU_CHART_VERSION: process.env.RENKU_CHART_VERSION,

0 commit comments

Comments
 (0)