Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/4ff6c714568e604fb1fe8952a7eaef24d23b9866?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
0 additions and
7 deletions
@ -33,7 +33,6 @@ namespace Lidarr.Api.V1.Config
SharedValidator . RuleFor ( c = > c . BindAddress )
SharedValidator . RuleFor ( c = > c . BindAddress )
. ValidIpAddress ( )
. ValidIpAddress ( )
. NotListenAllIp4Address ( )
. When ( c = > c . BindAddress ! = "*" & & c . BindAddress ! = "localhost" ) ;
. When ( c = > c . BindAddress ! = "*" & & c . BindAddress ! = "localhost" ) ;
SharedValidator . RuleFor ( c = > c . Port ) . ValidPort ( ) ;
SharedValidator . RuleFor ( c = > c . Port ) . ValidPort ( ) ;
@ -1,5 +1,4 @@
using FluentValidation ;
using FluentValidation ;
using FluentValidation.Validators ;
using NzbDrone.Common.Extensions ;
using NzbDrone.Common.Extensions ;
namespace NzbDrone.Core.Validation
namespace NzbDrone.Core.Validation
@ -10,10 +9,5 @@ namespace NzbDrone.Core.Validation
{
{
return ruleBuilder . Must ( x = > x . IsValidIpAddress ( ) ) . WithMessage ( "Must contain wildcard (*) or a valid IP Address" ) ;
return ruleBuilder . Must ( x = > x . IsValidIpAddress ( ) ) . WithMessage ( "Must contain wildcard (*) or a valid IP Address" ) ;
}
}
public static IRuleBuilderOptions < T , string > NotListenAllIp4Address < T > ( this IRuleBuilder < T , string > ruleBuilder )
{
return ruleBuilder . SetValidator ( new RegularExpressionValidator ( @"^(?!0\.0\.0\.0)" ) ) . WithMessage ( "Use * instead of 0.0.0.0" ) ;
}
}
}
}
}