Added robots.ts

This commit is contained in:
Ryan Freeman 2023-07-31 22:29:00 +01:00
parent f6e75acc3c
commit 5abce4bf65

12
app/robots.ts Normal file
View File

@ -0,0 +1,12 @@
import { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
disallow: '/private/',
},
sitemap: 'https://ryanfreeman.dev/sitemap.xml',
}
}