nexora / frontend /next-sitemap.config.js
ChandimaPrabath's picture
sitemap config
e11c0e6
raw
history blame
1.25 kB
module.exports = {
siteUrl: "https://hans-den-nexora.hf.space",
changefreq: 'daily',
priority: 0.7,
sitemapSize: 5000,
generateRobotsTxt: true,
// exclude: ['/protected-page', '/awesome/secret-page'],
// alternateRefs: [
// {
// href: 'https://es.example.com',
// hreflang: 'es',
// },
// {
// href: 'https://fr.example.com',
// hreflang: 'fr',
// },
// ],
additionalPaths: async (config) => [
await config.transform(config, '/movies'),
await config.transform(config, '/tvshows'),
await config.transform(config, '/search'),
await config.transform(config, '/genre/Action'),
await config.transform(config, '/genre/Adventure'),
await config.transform(config, '/genre/Animation'),
await config.transform(config, '/genre/Comedy'),
await config.transform(config, '/genre/Crime'),
await config.transform(config, '/genre/Documentary'),
await config.transform(config, '/genre/Drama'),
await config.transform(config, '/genre/Family'),
await config.transform(config, '/genre/Fantasy'),
await config.transform(config, '/genre/Horror'),
await config.transform(config, '/genre/Mystery'),
await config.transform(config, '/genre/Romance'),
],
}