mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-02 21:20:28 +12:00
Properly handle url prefix
This commit is contained in:
parent
cf4d6b265b
commit
986c39bce7
|
@ -156,7 +156,7 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
return null;
|
||||
}
|
||||
|
||||
result.URL = $"https://{domain}/{uploadpath}";
|
||||
result.URL = URLHelpers.FixPrefix($"{domain}/{uploadpath}", "https://");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue