Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/bc490c6bf7b711cf9e9f026e7e00e6ef33a5dc7e?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
7 additions and
6 deletions
@ -35,7 +35,7 @@ namespace NzbDrone.Api
. ForMember ( dest = > dest . QualityTypeId , opt = > opt . MapFrom ( src = > src . Id ) ) ;
//Series
Mapper . CreateMap < Core . Episodes . Series , SeriesResource > ( )
Mapper . CreateMap < Core . Tv . Series , SeriesResource > ( )
. ForMember ( dest = > dest . Id , opt = > opt . MapFrom ( src = > src . SeriesId ) )
. ForMember ( dest = > dest . CustomStartDate , opt = > opt . ResolveUsing < NullableDatetimeToString > ( ) . FromMember ( src = > src . CustomStartDate ) )
. ForMember ( dest = > dest . BacklogSetting , opt = > opt . MapFrom ( src = > ( Int32 ) src . BacklogSetting ) )
@ -7,9 +7,9 @@ using NzbDrone.Core.Repository.Quality;
namespace NzbDrone.Api.Resolvers
{
public class NextAiringResolver : ValueResolver < Core . Episodes . Series , DateTime ? >
public class NextAiringResolver : ValueResolver < Core . Tv . Series , DateTime ? >
{
protected override DateTime ? ResolveCore ( Core . Episodes . Series source )
protected override DateTime ? ResolveCore ( Core . Tv . Series source )
{
if ( String . IsNullOrWhiteSpace ( source . AirTime ) | | ! source . NextAiring . HasValue )
return source . NextAiring ;
@ -22,6 +22,7 @@ namespace NzbDrone.Core
public static void RegisterCoreServices ( this ContainerBuilder containerBuilder )
{
containerBuilder . RegisterAssembly ( "NzbDrone.Common" ) ;
containerBuilder . RegisterAssembly ( "NzbDrone.Core" ) ;
containerBuilder . InitDatabase ( ) ;
@ -2,7 +2,6 @@
<FileVersion>1</FileVersion>
<AutoEnableOnStartup>False</AutoEnableOnStartup>
<AllowParallelTestExecution>true</AllowParallelTestExecution>
<AllowTestsToRunInParallelWithThemselves>true</AllowTestsToRunInParallelWithThemselves>
<FrameworkUtilisationTypeForNUnit>UseDynamicAnalysis</FrameworkUtilisationTypeForNUnit>
<FrameworkUtilisationTypeForGallio>Disabled</FrameworkUtilisationTypeForGallio>
<FrameworkUtilisationTypeForMSpec>Disabled</FrameworkUtilisationTypeForMSpec>
@ -1,4 +1,5 @@
using Autofac ;
using System.Reflection ;
using Autofac ;
using NLog ;
using NzbDrone.Api ;
using NzbDrone.Common ;
@ -33,7 +34,7 @@ namespace NzbDrone
builder . RegisterCommonServices ( ) ;
builder . RegisterApiServices ( ) ;
builder . RegisterAssemblyTypes ( "NzbDrone" ) ;
builder . RegisterAssemblyTypes ( Assembly . GetExecutingAssembly ( ) ) ;
}
private static void InitilizeApp ( )