Add download client customizable url base (#43)

This commit is contained in:
Flaminel
2025-03-20 00:09:24 +02:00
committed by GitHub
parent a1354f231a
commit f21f7388b7
10 changed files with 59 additions and 7 deletions
@@ -1,4 +1,5 @@
using Common.Exceptions;
using Common.Exceptions;
using Microsoft.Extensions.Configuration;
namespace Common.Configuration.DownloadClient;
@@ -8,6 +9,9 @@ public sealed class QBitConfig : IConfig
public Uri? Url { get; init; }
[ConfigurationKeyName("URL_BASE")]
public string UrlBase { get; init; } = string.Empty;
public string? Username { get; init; }
public string? Password { get; init; }