1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

switched services to http

This commit is contained in:
Keivan Beigi 2014-12-05 14:23:30 -08:00
parent 3ce65eec08
commit 71638ec77e
6 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ namespace NzbDrone.Common.Cloud
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)

View File

@ -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" />

View File

@ -6,9 +6,9 @@ using NzbDrone.Common.Instrumentation;
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()
{

View File

@ -23,7 +23,7 @@ namespace NzbDrone.Host
try
{
GlobalExceptionHandlers.Register();
IgnoreCertErrorPolicy.Register();
X509CertificateValidationPolicy.Register();
Logger.Info("Starting NzbDrone - {0} - Version {1}", Assembly.GetCallingAssembly().Location, Assembly.GetExecutingAssembly().GetName().Version);

View File

@ -34,7 +34,7 @@ namespace NzbDrone.Host.Owin
public void StartServer()
{
IgnoreCertErrorPolicy.Register();
X509CertificateValidationPolicy.Register();
if (OsInfo.IsWindows)
{

View File

@ -36,7 +36,7 @@ namespace NzbDrone.Update
Console.WriteLine("Starting NzbDrone Update Client");
IgnoreCertErrorPolicy.Register();
X509CertificateValidationPolicy.Register();
GlobalExceptionHandlers.Register();