mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: fix ignoresslerrors cli option (#9657)
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Jackett.Common.Models.Config
|
||||
{
|
||||
var options = this;
|
||||
var runtimeSettings = new RuntimeSettings();
|
||||
|
||||
// Logging
|
||||
if (options.Logging)
|
||||
runtimeSettings.LogRequests = true;
|
||||
@@ -83,11 +84,11 @@ namespace Jackett.Common.Models.Config
|
||||
|
||||
// Use Proxy
|
||||
if (options.ProxyConnection != null)
|
||||
{
|
||||
runtimeSettings.ProxyConnection = options.ProxyConnection.ToLowerInvariant();
|
||||
}
|
||||
|
||||
// Ignore SSL errors on Curl
|
||||
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;
|
||||
|
||||
runtimeSettings.NoRestart = options.NoRestart;
|
||||
runtimeSettings.NoUpdates = options.NoUpdates;
|
||||
|
||||
|
Reference in New Issue
Block a user