Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/c1b87f4b8b602b8a8f7df094cbebfe9ea5e5e692
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
5 additions and
4 deletions
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Clone config template repo when `config create -t` is used.
- Fix error when completely commenting out a YAML configuration file (#190).
## [5.1.0] - 2023-06-26
@ -18,10 +18,10 @@ public static class ConfigExtensions
return configs . Any ( x = > x . InstanceName . EqualsIgnoreCase ( name ) ) ;
}
public static bool IsConfigEmpty ( this RootConfigYaml config )
public static bool IsConfigEmpty ( this RootConfigYaml ? config )
{
var sonarr = config .Sonarr ? . Count ? ? 0 ;
var radarr = config .Radarr ? . Count ? ? 0 ;
var sonarr = config ? .Sonarr ? . Count ? ? 0 ;
var radarr = config ? .Radarr ? . Count ? ? 0 ;
return sonarr + radarr = = 0 ;
}
}
@ -38,7 +38,7 @@ public class ConfigParser
try
{
using var stream = streamFactory ( ) ;
var config = _deserializer . Deserialize < RootConfigYaml >( stream ) ;
var config = _deserializer . Deserialize < RootConfigYaml ? >( stream ) ;
if ( config . IsConfigEmpty ( ) )
{
_log . Warning ( "Configuration is empty" ) ;