Replaces scheme to https for all urls returned to client side.

This commit is contained in:
Victor Usoltsev 2020-10-07 21:01:17 +13:00
commit 4332e5cf51
8 changed files with 50 additions and 50 deletions

View file

@ -131,7 +131,7 @@ namespace Ombi.Helpers
public static string ToHttpsUrl(this string currentUrl)
{
return currentUrl.Replace("http://", "https://");
return currentUrl?.Replace("http://", "https://");
}
}
}