We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb36d8 commit 581df26Copy full SHA for 581df26
src/Business/Grand.Business.System/Services/BackgroundServices/ScheduleTasks/GenerateSitemapXmlTask.cs
@@ -53,6 +53,9 @@ public async Task Execute()
53
if (!(stores.Count == 1 && languages.Count == 1))
54
file = $"sitemap-{store.Shortcut}-{lang.UniqueSeoCode}.xml";
55
56
+ if (stores.Count == 1 && languages.Count > 1)
57
+ file = $"sitemap-{lang.UniqueSeoCode}.xml";
58
+
59
await _mediaFileStore.WriteAllText(file, siteMap);
60
}
61
0 commit comments