portfolio/app/robots.ts

12 lines
286 B
TypeScript
Raw Normal View History

2023-07-31 21:29:00 +00:00
import { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
disallow: '/private/',
},
sitemap: 'https://ryanfreeman.dev/sitemap.xml',
}
}