fix path issue for root page

This commit is contained in:
sbwalker 2024-04-23 13:15:44 -04:00
parent 791cc70b09
commit 70057542c1

View File

@ -44,7 +44,7 @@ namespace Oqtane.Shared
string querystring = "";
string fragment = "";
if (!string.IsNullOrEmpty(path)) path = "/" + path;
if (!string.IsNullOrEmpty(path) && !path.StartsWith("/")) path = "/" + path;
if (!string.IsNullOrEmpty(parameters))
{