public string ResolveExternal(string url) { if (UriUtilities.IsAbsoluteUrl(url) || string.IsNullOrEmpty(Index.Source)) { return(url); } var baseUrl = UriUtilities.GetBasePath(Index.Source); return(UriUtilities.UrlCombine(baseUrl, url)); }
public string ResolveExternal(string url) { if (UriUtilities.IsAbsoluteUrl(url) || string.IsNullOrEmpty(Index.Source)) { return(url); } var baseUrl = UriUtilities.GetBasePath(Index.Source); return(UriUtilities.UrlCombine(baseUrl, url)); }