Skip to content

Commit

Permalink
feat(robots): disallow crawling of studio and api paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Sep 9, 2024
1 parent ab0b845 commit b363ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
disallow: ["/studio", "/shared", "/api"],
},
sitemap: new URL("sitemap.xml", process.env.NEXT_PUBLIC_URL).toString(),
};
Expand Down

0 comments on commit b363ccf

Please sign in to comment.