Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/767586304a35b40700228762794158fe30cd9e90
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
10 deletions
@ -37,12 +37,8 @@ namespace NzbDrone.Api.Config
Get [ "/samples" ] = x = > GetExamples ( this . Bind < NamingConfigResource > ( ) ) ;
SharedValidator . RuleFor ( c = > c . MultiEpisodeStyle ) . InclusiveBetween ( 0 , 3 ) ;
SharedValidator . When ( spec = > spec . RenameEpisodes , ( ) = >
{
SharedValidator . RuleFor ( c = > c . StandardEpisodeFormat ) . ValidEpisodeFormat ( ) ;
SharedValidator . RuleFor ( c = > c . DailyEpisodeFormat ) . ValidDailyEpisodeFormat ( ) ;
} ) ;
SharedValidator . RuleFor ( c = > c . StandardEpisodeFormat ) . ValidEpisodeFormat ( ) ;
SharedValidator . RuleFor ( c = > c . DailyEpisodeFormat ) . ValidDailyEpisodeFormat ( ) ;
}
private void UpdateNamingConfig ( NamingConfigResource resource )
@ -81,10 +81,8 @@ namespace NzbDrone.Integration.Test
config . StandardEpisodeFormat = "" ;
config . DailyEpisodeFormat = "" ;
var result = NamingConfig . Put ( config ) ;
result . RenameEpisodes . Should ( ) . BeFalse ( ) ;
result . StandardEpisodeFormat . Should ( ) . Be ( config . StandardEpisodeFormat ) ;
result . DailyEpisodeFormat . Should ( ) . Be ( config . DailyEpisodeFormat ) ;
var errors = NamingConfig . InvalidPut ( config ) ;
errors . Should ( ) . NotBeEmpty ( ) ;
}
[Test]