mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Using wrong variable
This commit is contained in:
parent
2c953bb110
commit
29ed48137b
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
headers.Remove("Host");
|
||||
headers.Remove("Content-Type");
|
||||
|
||||
string url = URLHelpers.CombineURL(scheme + endpoint, canonicalURI);
|
||||
string url = URLHelpers.CombineURL(scheme + host, canonicalURI);
|
||||
url = URLHelpers.FixPrefix(url, "https://");
|
||||
|
||||
SendRequest(HttpMethod.PUT, url, stream, contentType, null, headers);
|
||||
|
|
Loading…
Reference in a new issue