mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
moved update url from db to nzbdrone.config
This commit is contained in:
parent
87bbf2dc6a
commit
2dfebd2147
8 changed files with 14 additions and 74 deletions
|
@ -22,6 +22,7 @@ namespace NzbDrone.Core.Configuration
|
|||
string Username { get; }
|
||||
string Password { get; }
|
||||
string LogLevel { get; }
|
||||
string UpdateUrl { get; }
|
||||
}
|
||||
|
||||
public class ConfigFileProvider : IConfigFileProvider
|
||||
|
@ -95,6 +96,11 @@ namespace NzbDrone.Core.Configuration
|
|||
get { return GetValueBoolean("AuthenticationEnabled", false); }
|
||||
}
|
||||
|
||||
public string UpdateUrl
|
||||
{
|
||||
get { return GetValue("UpdateUrl", "http://update.nzbdrone.com/vnext/"); }
|
||||
}
|
||||
|
||||
public string Username
|
||||
{
|
||||
get { return GetValue("Username", ""); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue