mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-07 08:04:29 +01:00
Deducing if to perform update check from update url configuration
This commit is contained in:
@@ -176,8 +176,7 @@ namespace BTCPayServer.Configuration
|
||||
SocksEndpoint = endpoint;
|
||||
}
|
||||
|
||||
UpdateCheck = conf.GetOrDefault<bool>("updatecheck", false);
|
||||
UpdateUrl = conf.GetOrDefault<Uri>("updateurl", new Uri("https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest"));
|
||||
UpdateUrl = conf.GetOrDefault<Uri>("updateurl", null);
|
||||
|
||||
var sshSettings = ParseSSHConfiguration(conf);
|
||||
if ((!string.IsNullOrEmpty(sshSettings.Password) || !string.IsNullOrEmpty(sshSettings.KeyFile)) && !string.IsNullOrEmpty(sshSettings.Server))
|
||||
@@ -303,7 +302,6 @@ namespace BTCPayServer.Configuration
|
||||
set;
|
||||
}
|
||||
public string TorrcFile { get; set; }
|
||||
public bool UpdateCheck { get; set; }
|
||||
public Uri UpdateUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user