Skip to content

Commit

Permalink
Merge pull request #4183 from sbwalker/dev
Browse files Browse the repository at this point in the history
fix path issue for root page
  • Loading branch information
sbwalker authored Apr 23, 2024
2 parents f2255ee + 7005754 commit e4c1b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Shared/Shared/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static string NavigateUrl(string alias, string path, string parameters)
string querystring = "";
string fragment = "";

if (!string.IsNullOrEmpty(path)) path = "/" + path;
if (!string.IsNullOrEmpty(path) && !path.StartsWith("/")) path = "/" + path;

if (!string.IsNullOrEmpty(parameters))
{
Expand Down

0 comments on commit e4c1b17

Please sign in to comment.