mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Another suggestion for cleanup
This commit is contained in:
parent
77229dbd1a
commit
8d7865fc2f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue