Skip to content

Commit 0ee4430

Browse files
committed
fix: make the sitemap file id dynamic in the success message
1 parent 6c48b71 commit 0ee4430

File tree

1 file changed

+1
-1
lines changed
  • packages/addons/sitemap/server/services

1 file changed

+1
-1
lines changed

packages/addons/sitemap/server/services/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ const createSitemap = async (id) => {
327327

328328
await getPluginService('core').saveSitemap(id, sitemap, isIndex);
329329

330-
strapi.log.info(logMessage('The sitemap XML has been generated. It can be accessed on /api/sitemap/index.xml.'));
330+
strapi.log.info(logMessage(`The sitemap XML has been generated. It can be accessed on /api/sitemap/${id}.xml.`));
331331
};
332332

333333
export default () => ({

0 commit comments

Comments
 (0)