Skip to content

Commit 1cfcf08

Browse files
committed
Add robots file to hopefully avoid trying to diff the robots.txt package
1 parent 2de2ad9 commit 1cfcf08

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/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: "/",
8+
disallow: "/api/",
9+
},
10+
};
11+
}

0 commit comments

Comments
 (0)