feat(seo): server-side sitemap for shows and persons

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
nerandClaude Fable 5 committed 2026-08-07 16:48:11 +03:00
1 parent 25a5d535a4
commit 70b825c2dc
2 files changed
+74 -3

No files matched your search

+7 -3
View File
@@ -1,11 +1,15 @@
const siteUrl = `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`;
module.exports = {
siteUrl: `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`,
siteUrl,
generateRobotsTxt: true,
exclude: ['/server-sitemap.xml'],
robotsTxtOptions: {
policies: [
{ userAgent: '*', allow: '/' },
{ userAgent: '*', disallow: '/favorites' },
{ userAgent: '*', disallow: '/watch-list' }
]
{ userAgent: '*', disallow: '/watchlist' }
],
additionalSitemaps: [`${siteUrl}/server-sitemap.xml`]
}
};