New: Add application URL to host configuration settings

(cherry picked from commit 762042ba97c2ae689cee32d8e66a458f6d7a8adc)
This commit is contained in:
Devin Buhl
2022-08-07 14:54:39 -04:00
committed by Bogdan
parent 1a5e41d831
commit 202836110e
5 changed files with 24 additions and 1 deletions
@@ -182,6 +182,8 @@ namespace NzbDrone.Core.Configuration
public CertificateValidationType CertificateValidation =>
GetValueEnum("CertificateValidation", CertificateValidationType.Enabled);
public string ApplicationUrl => GetValue("ApplicationUrl", string.Empty);
private string GetValue(string key)
{
return GetValue(key, string.Empty);