mirror of https://github.com/sgoudham/website.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
330 B
TypeScript
12 lines
330 B
TypeScript
1 year ago
|
import { MetadataRoute } from 'next'
|
||
|
|
||
|
export default function robots(): MetadataRoute.Robots {
|
||
|
return {
|
||
|
rules: {
|
||
|
userAgent: '*',
|
||
|
allow: '/',
|
||
|
disallow: '/private/',
|
||
|
},
|
||
|
sitemap: process.env.NEXT_PUBLIC_IS_PREVIEW ? 'https://preview.goudham.com/sitemap.xml' : 'https://goudham.com/sitemap.xml',
|
||
|
}
|
||
|
}
|