diff --git a/next-sitemap.config.js b/next-sitemap.config.js index 8e204769..cd541e85 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -5,7 +5,7 @@ module.exports = { siteUrl, transform: async (config, path) => { return { - loc: path, // => this will be exported as http(s):/// + loc: path, changefreq: config.changefreq, priority: config.priority, lastmod: config.autoLastmod ? new Date().toISOString() : undefined,