Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/1f70e7fb61bbc2627e69d61f13e1176fec0f92b8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
9 additions and
9 deletions
@ -18,6 +18,6 @@ public static class CompositionRoot
builder . RegisterType < DefaultAppDataSetup > ( ) ;
builder . Register ( c = > c . Resolve < DefaultAppDataSetup > ( ) . CreateAppPaths ( ) )
. As < IAppPaths > ( )
. Single Instance( ) ;
. InstancePerLifetimeScop e( ) ;
}
}
@ -55,7 +55,7 @@ internal class CompositionRoot : ICompositionRoot
ConfigurationRegistrations ( builder ) ;
CommandRegistrations ( builder ) ;
builder . Register ( _ = > AutoMapperConfig . Setup ( ) ) . Single Instance( ) ;
builder . Register ( _ = > AutoMapperConfig . Setup ( ) ) . InstancePerLifetimeScop e( ) ;
return new ServiceLocatorProxy ( builder . Build ( ) ) ;
}
@ -66,7 +66,7 @@ internal class CompositionRoot : ICompositionRoot
builder . RegisterType < LoggerFactory > ( ) ;
builder . Register ( c = > c . Resolve < LoggerFactory > ( ) . Create ( logLevel ) )
. As < ILogger > ( )
. Single Instance( ) ;
. InstancePerLifetimeScop e( ) ;
}
private void RegisterAppPaths ( ContainerBuilder builder , string? appDataDir )
@ -77,7 +77,7 @@ internal class CompositionRoot : ICompositionRoot
builder . Register ( c = > c . Resolve < DefaultAppDataSetup > ( ) . CreateAppPaths ( appDataDir ) )
. As < IAppPaths > ( )
. Single Instance( ) ;
. InstancePerLifetimeScop e( ) ;
}
private static void ConfigurationRegistrations ( ContainerBuilder builder )
@ -104,6 +104,6 @@ internal class CompositionRoot : ICompositionRoot
// the wrong configuration when multiple instances are used.
builder . RegisterType < ActiveServiceCommandProvider > ( )
. As < IActiveServiceCommandProvider > ( )
. Single Instance( ) ;
. InstancePerLifetimeScop e( ) ;
}
}
@ -15,8 +15,8 @@ public class ConfigAutofacModule : Module
. AsClosedTypesOf ( typeof ( IValidator < > ) )
. AsImplementedInterfaces ( ) ;
builder . RegisterType < ConfigurationProvider > ( ) . As < IConfigurationProvider > ( ) . Single Instance( ) ;
builder . RegisterType < SettingsProvider > ( ) . As < ISettingsProvider > ( ) . Single Instance( ) ;
builder . RegisterType < ConfigurationProvider > ( ) . As < IConfigurationProvider > ( ) . InstancePerLifetimeScop e( ) ;
builder . RegisterType < SettingsProvider > ( ) . As < ISettingsProvider > ( ) . InstancePerLifetimeScop e( ) ;
builder . RegisterType < YamlSerializerFactory > ( ) . As < IYamlSerializerFactory > ( ) ;
builder . RegisterType < SettingsPersister > ( ) . As < ISettingsPersister > ( ) ;
}
@ -9,6 +9,6 @@ public class RepoAutofacModule : Module
base . Load ( builder ) ;
builder . RegisterType < RepoUpdater > ( ) . As < IRepoUpdater > ( ) ;
builder . RegisterType < RepoMetadataParser > ( ) . As < IRepoMetadataParser > ( ) ;
builder . RegisterType < RepoPathsFactory > ( ) . As < IRepoPathsFactory > ( ) . Single Instance( ) ;
builder . RegisterType < RepoPathsFactory > ( ) . As < IRepoPathsFactory > ( ) . InstancePerLifetimeScop e( ) ;
}
}
@ -16,7 +16,7 @@ public class SonarrAutofacModule : Module
builder . RegisterType < SonarrApi > ( ) . As < ISonarrApi > ( ) ;
builder . RegisterType < ReleaseProfileApiService > ( ) . As < IReleaseProfileApiService > ( ) ;
builder . RegisterType < SonarrValidationMessages > ( ) . As < ISonarrValidationMessages > ( ) ;
builder . RegisterType < SonarrCompatibility > ( ) . As < ISonarrCompatibility > ( ) . Single Instance( ) ;
builder . RegisterType < SonarrCompatibility > ( ) . As < ISonarrCompatibility > ( ) . InstancePerLifetimeScop e( ) ;
builder . RegisterType < SonarrGuideDataLister > ( ) . As < ISonarrGuideDataLister > ( ) ;
// Release Profile Support