fix: robots.txt

This commit is contained in:
ner committed 2024-11-07 20:07:52 +02:00
1 parent a2c5ba5184
commit ef6223ff03
7 files changed
+89 -9

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
module.exports = {
siteUrl: process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL,
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [
{ userAgent: '*', allow: '/' },
{ userAgent: '*', disallow: '/favorites' },
{ userAgent: '*', disallow: '/watch-list' }
]
}
};