Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/39a1dbf1d1b70710d16d0c290cc387821a2bd9a4
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
8 additions and
7 deletions
@ -30,14 +30,14 @@ namespace NzbDrone.Common.Composition
#if !NETCOREAPP
foreach ( var assembly in assemblies )
{
_loadedTypes . AddRange ( Assembly . Load ( assembly ) . Get Types( ) ) ;
_loadedTypes . AddRange ( Assembly . Load ( assembly ) . Get Exported Types( ) ) ;
}
# else
var startupPath = AppDomain . CurrentDomain . BaseDirectory ;
foreach ( var assemblyName in assemblies )
{
_loadedTypes . AddRange ( AssemblyLoadContext . Default . LoadFromAssemblyPath ( Path . Combine ( startupPath , $"{assemblyName}.dll" ) ) . Get Types( ) ) ;
_loadedTypes . AddRange ( AssemblyLoadContext . Default . LoadFromAssemblyPath ( Path . Combine ( startupPath , $"{assemblyName}.dll" ) ) . Get Exported Types( ) ) ;
}
var toRegisterResolver = new List < string > { "System.Data.SQLite" } ;
@ -1,4 +1,4 @@
using System ;
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Reflection ;
@ -17,7 +17,7 @@ namespace NzbDrone.Common.Reflection
public static List < Type > ImplementationsOf < T > ( this Assembly assembly )
{
return assembly . Get Types( ) . Where ( c = > typeof ( T ) . IsAssignableFrom ( c ) ) . ToList ( ) ;
return assembly . Get Exported Types( ) . Where ( c = > typeof ( T ) . IsAssignableFrom ( c ) ) . ToList ( ) ;
}
public static bool IsSimpleType ( this Type type )
@ -68,7 +68,7 @@ namespace NzbDrone.Common.Reflection
public static Type FindTypeByName ( this Assembly assembly , string name )
{
return assembly . Get Types( ) . SingleOrDefault ( c = > c . Name . Equals ( name , StringComparison . InvariantCultureIgnoreCase ) ) ;
return assembly . Get Exported Types( ) . SingleOrDefault ( c = > c . Name . Equals ( name , StringComparison . InvariantCultureIgnoreCase ) ) ;
}
public static bool HasAttribute < TAttribute > ( this Type type )
@ -37,6 +37,7 @@ namespace NzbDrone.Core.Datastore
Environment . SetEnvironmentVariable ( "No_Expand" , "true" ) ;
Environment . SetEnvironmentVariable ( "No_SQLiteXmlConfigFile" , "true" ) ;
Environment . SetEnvironmentVariable ( "No_PreLoadSQLite" , "true" ) ;
Environment . SetEnvironmentVariable ( "No_SQLiteFunctions" , "true" ) ;
}
public static void RegisterDatabase ( IContainer container )
@ -1,4 +1,4 @@
using System ;
using System ;
using NLog ;
using NzbDrone.Core.Lifecycle ;
@ -9,7 +9,7 @@ namespace Radarr.Host
void Attach ( ) ;
}
internal class CancelHandler : ICancelHandler
public class CancelHandler : ICancelHandler
{
private readonly ILifecycleService _lifecycleService ;
private object _syncRoot ;