Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/d34b527842eeca02d6015936f4d0c7f51c666666
You should set ROOT_URL correctly, otherwise the web may not work correctly.
10 changed files with
36 additions and
39 deletions
@ -24,8 +24,7 @@ namespace NzbDrone.Api.Frontend
_indexCache = cacheManger . GetCache < string > ( typeof ( IndexModule ) ) ;
//Serve anything that doesn't have an extension
Get [ @"^(?:.*)$" ] = x = > Index ( ) ;
Get [ @"/" ] = x = > Index ( ) ;
Get [ @"/(.*)" ] = x = > Index ( ) ;
}
private object Index ( )
@ -63,13 +63,12 @@
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Microsoft.AspNet.SignalR.Core.1.1.1\lib\net40\Microsoft.AspNet.SignalR.Core.dll</HintPath>
</Reference>
<Reference Include= "Nancy, Version=0.1 7 .1.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include= "Nancy, Version=0.1 6 .1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.0.17 .1\lib\net40\Nancy.dll</HintPath>
<HintPath > ..\packages\Nancy.0.16 .1\lib\net40\Nancy.dll</HintPath>
</Reference>
<Reference Include= "Nancy.Authentication.Basic, Version=0.17.1.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.Authentication.Basic.0.17.1\lib\net40\Nancy.Authentication.Basic.dll</HintPath>
<Reference Include= "Nancy.Authentication.Basic" >
<HintPath > ..\packages\Nancy.Authentication.Basic.0.16.1\lib\net40\Nancy.Authentication.Basic.dll</HintPath>
</Reference>
<Reference Include= "Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
@ -20,6 +20,15 @@ namespace NzbDrone.Api
return this . ApplicationContainer . Resolve < INancyEngine > ( ) ;
}
/// <summary>
/// Get the moduleKey generator
/// </summary>
/// <returns>IModuleKeyGenerator instance</returns>
protected override sealed IModuleKeyGenerator GetModuleKeyGenerator ( )
{
return this . ApplicationContainer . Resolve < IModuleKeyGenerator > ( ) ;
}
/// <summary>
/// Create a default, unconfigured, container
/// </summary>
@ -79,8 +88,8 @@ namespace NzbDrone.Api
container . Register (
typeof ( INancyModule ) ,
moduleRegistrationType . ModuleType ,
moduleRegistrationType . Module Type. FullName ) .
AsSingleton ( ) ;
moduleRegistrationType . Module Key ) .
AsSingleton ( ) ;
}
}
@ -147,14 +156,14 @@ namespace NzbDrone.Api
}
/// <summary>
/// Retreive a specific module instance from the container
/// Retreive a specific module instance from the container by its key
/// </summary>
/// <param name="container">Container to use</param>
/// <param name="module Type">Type of the module</param>
/// <param name="module Key">Module key of the module</param>
/// <returns>NancyModule instance</returns>
protected override sealed INancyModule GetModule ( TinyIoCContainer container , Type moduleType )
protected override sealed INancyModule GetModule ByKey ( TinyIoCContainer container , string moduleKey )
{
return ( INancyModule ) container . Resolve ( moduleType ) ;
return container . Resolve < INancyModule > ( moduleKey ) ;
}
/// <summary>
@ -2,8 +2,8 @@
<packages>
<package id="FluentValidation" version="4.0.0.0" targetFramework="net40" />
<package id="Microsoft.AspNet.SignalR.Core" version="1.1.1" targetFramework="net40" />
<package id="Nancy" version="0.17 .1" targetFramework="net40" />
<package id="Nancy.Authentication.Basic" version="0.17 .1" targetFramework="net40" />
<package id="Nancy" version="0.16 .1" targetFramework="net40" />
<package id="Nancy.Authentication.Basic" version="0.16 .1" targetFramework="net40" />
<package id="Newtonsoft.Json" version="5.0.3" targetFramework="net40" />
<package id="NLog" version="2.0.1.2" targetFramework="net40" />
<package id="ValueInjecter" version="2.3.3" targetFramework="net40" />
@ -83,14 +83,6 @@
<CodeAnalysisRuleSet > MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup >
<Reference Include= "Nancy, Version=0.17.1.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.0.17.1\lib\net40\Nancy.dll</HintPath>
</Reference>
<Reference Include= "Nancy.Authentication.Basic, Version=0.17.1.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.Authentication.Basic.0.17.1\lib\net40\Nancy.Authentication.Basic.dll</HintPath>
</Reference>
<Reference Include= "NLog, Version=2.0.1.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\NLog.2.0.1.2\lib\net40\NLog.dll</HintPath>
@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Nancy" version="0.17 .1" targetFramework="net40" />
<package id="Nancy.Authentication.Basic" version="0.17 .1" targetFramework="net40" />
<package id="Nancy" version="0.16 .1" targetFramework="net40" />
<package id="Nancy.Authentication.Basic" version="0.16 .1" targetFramework="net40" />
<package id="NLog" version="2.0.1.2" targetFramework="net40" />
</packages>
@ -56,13 +56,12 @@
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Moq.4.0.10827\lib\NET40\Moq.dll</HintPath>
</Reference>
<Reference Include= "Nancy, Version=0.17.1.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.0.17.1\lib\net40\Nancy.dll</HintPath>
<Reference Include= "Nancy" >
<HintPath > ..\packages\Nancy.0.16.1\lib\net40\Nancy.dll</HintPath>
</Reference>
<Reference Include= "Nancy.Owin, Version=0.1 7 .1.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include= "Nancy.Owin, Version=0.1 6 .1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.Owin.0.17 .1\lib\net40\Nancy.Owin.dll</HintPath>
<HintPath > ..\packages\Nancy.Owin.0.16 .1\lib\net40\Nancy.Owin.dll</HintPath>
</Reference>
<Reference Include= "Newtonsoft.Json" >
<HintPath > ..\packages\Newtonsoft.Json.5.0.3\lib\net35\Newtonsoft.Json.dll</HintPath>
@ -6,8 +6,8 @@
<package id="Microsoft.Owin.Host.HttpListener" version="1.1.0-beta2" targetFramework="net40" />
<package id="Microsoft.Owin.Hosting" version="1.1.0-beta2" targetFramework="net40" />
<package id="Moq" version="4.0.10827" targetFramework="net40" />
<package id="Nancy" version="0.17 .1" targetFramework="net40" />
<package id="Nancy.Owin" version="0.17 .1" targetFramework="net40" />
<package id="Nancy" version="0.16 .1" targetFramework="net40" />
<package id="Nancy.Owin" version="0.16 .1" targetFramework="net40" />
<package id="Newtonsoft.Json" version="5.0.3" targetFramework="net40" />
<package id="NLog" version="2.0.1.2" targetFramework="net40" />
<package id="NUnit" version="2.6.2" targetFramework="net40" />
@ -112,13 +112,12 @@
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Microsoft.Owin.Hosting.1.1.0-beta2\lib\net40\Microsoft.Owin.Hosting.dll</HintPath>
</Reference>
<Reference Include= "Nancy, Version=0.17.1.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.0.17.1\lib\net40\Nancy.dll</HintPath>
<Reference Include= "Nancy" >
<HintPath > ..\packages\Nancy.0.16.1\lib\net40\Nancy.dll</HintPath>
</Reference>
<Reference Include= "Nancy.Owin, Version=0.1 7 .1.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include= "Nancy.Owin, Version=0.1 6 .1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\Nancy.Owin.0.17 .1\lib\net40\Nancy.Owin.dll</HintPath>
<HintPath > ..\packages\Nancy.Owin.0.16 .1\lib\net40\Nancy.Owin.dll</HintPath>
</Reference>
<Reference Include= "Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
@ -6,8 +6,8 @@
<package id="Microsoft.Owin" version="1.1.0-beta2" targetFramework="net40" />
<package id="Microsoft.Owin.Host.HttpListener" version="1.1.0-beta2" targetFramework="net40" />
<package id="Microsoft.Owin.Hosting" version="1.1.0-beta2" targetFramework="net40" />
<package id="Nancy" version="0.17 .1" targetFramework="net40" />
<package id="Nancy.Owin" version="0.17 .1" targetFramework="net40" />
<package id="Nancy" version="0.16 .1" targetFramework="net40" />
<package id="Nancy.Owin" version="0.16 .1" targetFramework="net40" />
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net40" />
<package id="NLog" version="2.0.1.2" targetFramework="net40" />
<package id="NLog.Config" version="2.0.1.2" targetFramework="net40" />