mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
chore(web): add robots.txt
This commit is contained in:
4
apps/web/public/robots.txt
Normal file
4
apps/web/public/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://better-t-stack.dev/sitemap.xml
|
||||
@@ -1,14 +0,0 @@
|
||||
export const dynamic = "force-static";
|
||||
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: "/private/",
|
||||
},
|
||||
sitemap: "https://better-t-stack.dev/sitemap.xml",
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user