Skip to content

Commit 0f3d904

Browse files
authored
fix: stop google from crawling dashboard (#368)
1 parent 5580f53 commit 0f3d904

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

apps/dashboard/app/robots.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { MetadataRoute } from "next";
2+
3+
export default function robots(): MetadataRoute.Robots {
4+
return {
5+
rules: {
6+
userAgent: "*",
7+
allow: "/status/",
8+
disallow: ["/", "/.well-known/", "/_next/"],
9+
},
10+
};
11+
}

0 commit comments

Comments
 (0)