diff --git a/apps/web/public/robots.txt b/apps/web/public/robots.txt new file mode 100644 index 0000000..2445e85 --- /dev/null +++ b/apps/web/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://better-t-stack.dev/sitemap.xml diff --git a/apps/web/robots.ts b/apps/web/robots.ts deleted file mode 100644 index 04388f6..0000000 --- a/apps/web/robots.ts +++ /dev/null @@ -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", - }; -}