mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
switched services to http
This commit is contained in:
parent
3ce65eec08
commit
71638ec77e
@ -9,7 +9,7 @@ public interface IDroneServicesRequestBuilder
|
||||
|
||||
public class DroneServicesHttpRequestBuilder : HttpRequestBuilder, IDroneServicesRequestBuilder
|
||||
{
|
||||
private const string ROOT_URL = "https://services.sonarr.tv/v1/";
|
||||
private const string ROOT_URL = "http://services.sonarr.tv/v1/";
|
||||
|
||||
public DroneServicesHttpRequestBuilder()
|
||||
: base(ROOT_URL)
|
||||
|
@ -175,7 +175,7 @@
|
||||
<Compile Include="RateGate.cs" />
|
||||
<Compile Include="Reflection\ReflectionExtensions.cs" />
|
||||
<Compile Include="Extensions\ResourceExtensions.cs" />
|
||||
<Compile Include="Security\IgnoreCertErrorPolicy.cs" />
|
||||
<Compile Include="Security\X509CertificateValidationPolicy.cs" />
|
||||
<Compile Include="Serializer\IntConverter.cs" />
|
||||
<Compile Include="Serializer\Json.cs" />
|
||||
<Compile Include="ServiceFactory.cs" />
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
namespace NzbDrone.Common.Security
|
||||
{
|
||||
public static class IgnoreCertErrorPolicy
|
||||
public static class X509CertificateValidationPolicy
|
||||
{
|
||||
private static readonly Logger Logger = NzbDroneLogger.GetLogger("IgnoreCertErrorPolicy");
|
||||
private static readonly Logger Logger = NzbDroneLogger.GetLogger();
|
||||
|
||||
public static void Register()
|
||||
{
|
@ -23,7 +23,7 @@ public static void Start(StartupContext startupContext, IUserAlert userAlert, Ac
|
||||
try
|
||||
{
|
||||
GlobalExceptionHandlers.Register();
|
||||
IgnoreCertErrorPolicy.Register();
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
Logger.Info("Starting NzbDrone - {0} - Version {1}", Assembly.GetCallingAssembly().Location, Assembly.GetExecutingAssembly().GetName().Version);
|
||||
|
||||
|
@ -34,7 +34,7 @@ public OwinHostController(
|
||||
|
||||
public void StartServer()
|
||||
{
|
||||
IgnoreCertErrorPolicy.Register();
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
if (OsInfo.IsWindows)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ public static void Main(string[] args)
|
||||
|
||||
Console.WriteLine("Starting NzbDrone Update Client");
|
||||
|
||||
IgnoreCertErrorPolicy.Register();
|
||||
X509CertificateValidationPolicy.Register();
|
||||
|
||||
GlobalExceptionHandlers.Register();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user