Skip to content

Commit

Permalink
Merge pull request #4147 from sbwalker/dev
Browse files Browse the repository at this point in the history
fix SiteMap path issue
  • Loading branch information
sbwalker authored Apr 16, 2024
2 parents 2b8e024 + b815d94 commit ed83405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Server/Pages/Sitemap.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public IActionResult OnGet()
{
pageurl += (page.Url.StartsWith("/") ? "" : "/") + page.Url;
}
sitemap.Add(new Sitemap { Url = rooturl + pageurl, ModifiedOn = DateTime.UtcNow });
sitemap.Add(new Sitemap { Url = pageurl, ModifiedOn = DateTime.UtcNow });

foreach (var pageModule in pageModules.Where(item => item.PageId == page.PageId))
{
Expand Down

0 comments on commit ed83405

Please sign in to comment.