From bb40d510edfe8e40c2448ac02ff77d694cab2d24 Mon Sep 17 00:00:00 2001 From: Aman Varshney Date: Wed, 13 Aug 2025 19:45:59 +0530 Subject: [PATCH] chore(web): add robots.txt --- apps/web/public/robots.txt | 4 ++++ apps/web/robots.ts | 14 -------------- 2 files changed, 4 insertions(+), 14 deletions(-) create mode 100644 apps/web/public/robots.txt delete mode 100644 apps/web/robots.ts 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", - }; -}