Another suggestion for cleanup

This commit is contained in:
William Saulnier 2017-07-06 18:34:54 -07:00
parent 77229dbd1a
commit 8d7865fc2f

View file

@ -95,7 +95,7 @@ public override UploadResult Upload(Stream stream, string fileName)
if (!string.IsNullOrEmpty(AzureStorageCustomDomain))
{
// Azure Blob Storage does not support https with custom domains at this time
urlForCopy = URLHelpers.ForcePrefix(URLHelpers.CombineURL($"{AzureStorageCustomDomain}", $"{AzureStorageContainer}/{fileName}"), "http://");
urlForCopy = URLHelpers.ForcePrefix(URLHelpers.CombineURL(AzureStorageCustomDomain, AzureStorageContainer, fileName), "http://");
}
string contentType = Helpers.GetMimeType(fileName);