Skip to content

Commit

Permalink
fix: update disallow rules in robots metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Dec 14, 2024
1 parent 8efa115 commit 8a88d2b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/robots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ export default function robots(): MetadataRoute.Robots {
rules: [
{
userAgent: '*',
disallow: ['/login/', '/preview/', '/dashboard'],
},
{
userAgent: 'Googlebot',
disallow: ['/login/', '/preview/', '/dashboard', '/og'],
disallow: ['/login/', '/preview/', '/dashboard', '/_next'],
},
],
}
Expand Down

0 comments on commit 8a88d2b

Please sign in to comment.