Skip to content

Commit

Permalink
update: robots.txt for other search engines
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Mar 15, 2024
1 parent fe6da4d commit ada84b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ export default function robots(): MetadataRoute.Robots {
return {
rules: [
{
userAgent: "Googlebot",
userAgent: ["Applebot", "Bingbot", "Googlebot", "Slurp", "DuckDuckBot", "Baiduspider", "Yandex"],
allow: ["/"],
disallow: "/private/",
},
{
userAgent: ["Applebot", "Bingbot"],
disallow: ["/"],
disallow: "/api/",
},
],
sitemap: "https://www.animetrix.xyz/sitemap.xml",
Expand Down

0 comments on commit ada84b0

Please sign in to comment.