fixed download services

This commit is contained in:
Flaminel
2025-06-16 18:26:09 +03:00
parent ba1ced3b84
commit f39e8eca46
8 changed files with 110 additions and 70 deletions

View File

@@ -65,7 +65,7 @@ public sealed record DownloadClientConfig
/// </summary>
[NotMapped]
[JsonIgnore]
public Uri Url => new($"{Host?.ToString().TrimEnd('/')}/{UrlBase.TrimStart('/').TrimEnd('/')}");
public Uri Url => new($"{Host?.ToString().TrimEnd('/')}/{UrlBase?.TrimStart('/').TrimEnd('/')}");
/// <summary>
/// Validates the configuration