From 78fb5986e9622069c320b22519c26d6335203758 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Aug 2026 00:05:46 +0000 Subject: [PATCH] fix: disallow crawling of /dashboard/* and /auth/callback in robots.ts --- src/app/robots.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/robots.ts b/src/app/robots.ts index 1e4b5e1..94535f0 100644 --- a/src/app/robots.ts +++ b/src/app/robots.ts @@ -1,10 +1,11 @@ -import type { MetadataRoute } from "next"; +import { MetadataRoute } from 'next' export default function robots(): MetadataRoute.Robots { return { rules: { - userAgent: "*", - allow: "/", + userAgent: '*', + allow: '/', + disallow: ['/dashboard/*', '/auth/callback'], }, - }; + } }