diff --git a/next-sitemap.config.js b/next-sitemap.config.js index 3e827b3..570d9b8 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -2,7 +2,7 @@ module.exports = { siteUrl: process.env.SITE_URL || 'https://youplex.site', generateRobotsTxt: true, // (optional) // ...other options - exclude: ['/server-sitemap.xml'], + exclude: ['/server-sitemap.xml','middleware.js'], robotsTxtOptions: { additionalSitemaps: [ `https://youplex.site/server-sitemap.xml`, // <==== Add here