Skip to content

Commit 8a88d2b

Browse files
committed
fix: update disallow rules in robots metadata
Signed-off-by: Innei <[email protected]>
1 parent 8efa115 commit 8a88d2b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/app/robots.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ export default function robots(): MetadataRoute.Robots {
55
rules: [
66
{
77
userAgent: '*',
8-
disallow: ['/login/', '/preview/', '/dashboard'],
9-
},
10-
{
11-
userAgent: 'Googlebot',
12-
disallow: ['/login/', '/preview/', '/dashboard', '/og'],
8+
disallow: ['/login/', '/preview/', '/dashboard', '/_next'],
139
},
1410
],
1511
}

0 commit comments

Comments
 (0)