Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/19aded7a150728d118783d493c63511f7feb4258?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
9 changed files with
19 additions and
2 deletions
@ -27,6 +27,8 @@ namespace NzbDrone.Api.Authentication
_configFileProvider = configFileProvider ;
_configFileProvider = configFileProvider ;
}
}
public int Order { get { return 10 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
if ( _configFileProvider . AuthenticationMethod = = AuthenticationType . Forms )
if ( _configFileProvider . AuthenticationMethod = = AuthenticationType . Forms )
@ -14,6 +14,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
_cacheableSpecification = cacheableSpecification ;
_cacheableSpecification = cacheableSpecification ;
}
}
public int Order { get { return 0 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
pipelines . AfterRequest . AddItemToStartOfPipeline ( ( Action < NancyContext > ) Handle ) ;
pipelines . AfterRequest . AddItemToStartOfPipeline ( ( Action < NancyContext > ) Handle ) ;
@ -7,6 +7,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
{
{
public class CorsPipeline : IRegisterNancyPipeline
public class CorsPipeline : IRegisterNancyPipeline
{
{
public int Order { get { return 0 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
pipelines . AfterRequest . AddItemToEndOfPipeline ( ( Action < NancyContext > ) Handle ) ;
pipelines . AfterRequest . AddItemToEndOfPipeline ( ( Action < NancyContext > ) Handle ) ;
@ -12,6 +12,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
{
{
private readonly Logger _logger ;
private readonly Logger _logger ;
public int Order { get { return 0 ; } }
public GzipCompressionPipeline ( Logger logger )
public GzipCompressionPipeline ( Logger logger )
{
{
_logger = logger ;
_logger = logger ;
@ -4,6 +4,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
{
{
public interface IRegisterNancyPipeline
public interface IRegisterNancyPipeline
{
{
int Order { get ; }
void Register ( IPipelines pipelines ) ;
void Register ( IPipelines pipelines ) ;
}
}
}
}
@ -14,6 +14,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
_cacheableSpecification = cacheableSpecification ;
_cacheableSpecification = cacheableSpecification ;
}
}
public int Order { get { return 0 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
pipelines . BeforeRequest . AddItemToStartOfPipeline ( ( Func < NancyContext , Response > ) Handle ) ;
pipelines . BeforeRequest . AddItemToStartOfPipeline ( ( Func < NancyContext , Response > ) Handle ) ;
@ -7,6 +7,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
{
{
public class NzbDroneVersionPipeline : IRegisterNancyPipeline
public class NzbDroneVersionPipeline : IRegisterNancyPipeline
{
{
public int Order { get { return 0 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
pipelines . AfterRequest . AddItemToStartOfPipeline ( ( Action < NancyContext > ) Handle ) ;
pipelines . AfterRequest . AddItemToStartOfPipeline ( ( Action < NancyContext > ) Handle ) ;
@ -14,6 +14,8 @@ namespace NzbDrone.Api.Extensions.Pipelines
private static int _requestSequenceID ;
private static int _requestSequenceID ;
public int Order { get { return 100 ; } }
public void Register ( IPipelines pipelines )
public void Register ( IPipelines pipelines )
{
{
pipelines . BeforeRequest . AddItemToStartOfPipeline ( LogStart ) ;
pipelines . BeforeRequest . AddItemToStartOfPipeline ( LogStart ) ;
@ -1,8 +1,9 @@
using System ;
using System ;
using NLog ;
using System.Linq ;
using Nancy ;
using Nancy ;
using Nancy.Bootstrapper ;
using Nancy.Bootstrapper ;
using Nancy.Diagnostics ;
using Nancy.Diagnostics ;
using NLog ;
using NzbDrone.Api.ErrorManagement ;
using NzbDrone.Api.ErrorManagement ;
using NzbDrone.Api.Extensions.Pipelines ;
using NzbDrone.Api.Extensions.Pipelines ;
using NzbDrone.Common.EnvironmentInfo ;
using NzbDrone.Common.EnvironmentInfo ;
@ -43,7 +44,7 @@ namespace NzbDrone.Api
private void RegisterPipelines ( IPipelines pipelines )
private void RegisterPipelines ( IPipelines pipelines )
{
{
var pipelineRegistrars = _tinyIoCContainer . ResolveAll < IRegisterNancyPipeline > ( ) ;
var pipelineRegistrars = _tinyIoCContainer . ResolveAll < IRegisterNancyPipeline > ( ) .OrderBy ( v = > v . Order ) . ToList ( ) ;
foreach ( var registerNancyPipeline in pipelineRegistrars )
foreach ( var registerNancyPipeline in pipelineRegistrars )
{
{