|
@@ -95,6 +95,7 @@ public class HttpHelper
|
|
|
/// <returns></returns>
|
|
|
public static async Task<bool> DownloadFileAsync(string baseUrl, string remoteFileName, string localFile, int timeoutSeconds = 30)
|
|
|
{
|
|
|
+ baseUrl = baseUrl.Replace("/api", "");
|
|
|
if (!baseUrl.EndsWith("/"))
|
|
|
baseUrl += "/";
|
|
|
var server = new Uri(baseUrl + $"wwwroot/{remoteFileName}");
|