Merge pull request 'Give AI bots the boot' (#22) from kick-ai-bots into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #22
Reviewed-by: Chaoscaot <chaos@chaoscaot.de>
Dieser Commit ist enthalten in:
Chaoscaot 2024-11-26 15:34:50 +01:00
Commit d86a8493d1

Datei anzeigen

@ -34,9 +34,27 @@ export default defineConfig({
}, },
}), }),
robotsTxt({ robotsTxt({
policy: [{ policy: [
userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"], { userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"] },
}], { userAgent: "anthropic-ai", disallow: "/" },
{ userAgent: "Applebot-Extended", disallow: "/" },
{ userAgent: "Bytespider", disallow: "/" },
{ userAgent: "CCBot", disallow: "/" },
{ userAgent: "ChatGPT-User", disallow: "/" },
{ userAgent: "ClaudeBot", disallow: "/" },
{ userAgent: "Claude-Web", disallow: "/" },
{ userAgent: "cohere-ai", disallow: "/" },
{ userAgent: "Diffbot", disallow: "/" },
{ userAgent: "FacebookBot", disallow: "/" },
{ userAgent: "GPTBot", disallow: "/" },
{ userAgent: "ImagesiftBot", disallow: "/" },
{ userAgent: "Meta-ExternalAgent", disallow: "/" },
{ userAgent: "Meta-ExternalFetcher", disallow: "/" },
{ userAgent: "omgili", disallow: "/" },
{ userAgent: "OmigliBot", disallow: "/" },
{ userAgent: "PerplexityBot", disallow: "/" },
{ userAgent: "Timpibot", disallow: "/" }
],
}), }),
mdx(), mdx(),
], ],