Use https:// if prefix is missing

This commit is contained in:
Jaex 2018-06-19 22:20:45 +03:00
parent 8667d2412e
commit 2a1df4e38b

View file

@ -196,7 +196,7 @@ public string GenerateURL(string uploadPath, string customDomain = null)
if (!string.IsNullOrEmpty(customDomain))
{
url = URLHelpers.CombineURL(customDomain, uploadPath);
url = URLHelpers.FixPrefix(url);
url = URLHelpers.FixPrefix(url, "https://");
}
else if (AzureStorageContainer == "$root")
{