File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Metadata } from 'next';
33
44import '../styles/globals.css' ;
55
6- // A second layer of protection at meta tag level for crawlers
76export const metadata : Metadata = {
87 robots : {
98 index : false ,
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import { MetadataRoute } from 'next'
22
33// Function to generate the robots txt file to block crawlers.
44// Please edit the metadata function in root layout along with changes here
5- export default function robots ( ) : MetadataRoute . Robots {
6- return {
7- rules : {
8- userAgent : '*' ,
9- disallow : '/' ,
10- }
11- }
12- }
5+ // export default function robots(): MetadataRoute.Robots {
6+ // return {
7+ // rules: {
8+ // userAgent: '*',
9+ // disallow: '/',
10+ // }
11+ // }
12+ // }
You can’t perform that action at this time.
0 commit comments