Skip to content

Commit

Permalink
Remove /en-us/ from links
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Feb 14, 2023
1 parent 7703d6a commit 2a24041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FetchXmlBuilder/AppCode/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static string ProcessURL(string url)
if (urib.Host.ToLowerInvariant().Contains("microsoft.com"))
{
microsoftparams.AllKeys.ToList().ForEach(k => qry[k] = microsoftparams[k]);
urib.Path = urib.Path.Replace("/en-us/", "/");
}
commonparams.AllKeys.ToList().ForEach(k => qry[k] = commonparams[k]);

Expand Down

0 comments on commit 2a24041

Please sign in to comment.