Skip to content

Commit

Permalink
Merge branch 'main' of github.com:peersky/daococoa
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky committed Aug 23, 2023
2 parents 11459d8 + d968100 commit 2d26b7d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/bestofweb/next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ module.exports = {
includeNonIndexSitemaps: true,
},
generateIndexSitemap: false,
transform: (config, path) => {
return {
loc: path.endsWith("/") ? path : path + "/", // => this will be exported as http(s)://<config.siteUrl>/<path>
changefreq: config.changefreq,
priority: config.priority,
lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
alternateRefs: config.alternateRefs ?? [],
};
},
};

0 comments on commit 2d26b7d

Please sign in to comment.