mirror of https://github.com/Radarr/Radarr
removed left over nancy code from owincontroller.
This commit is contained in:
parent
91c0e21a4d
commit
a0162d52f9
|
@ -46,12 +46,6 @@ namespace NzbDrone.Owin
|
|||
}
|
||||
}
|
||||
|
||||
private static IAppBuilder RunNancy(IAppBuilder builder, INancyBootstrapper bootstrapper)
|
||||
{
|
||||
var nancyOwinHost = new NancyOwinHost(null, bootstrapper);
|
||||
return builder.Use((Func<Func<IDictionary<string, object>, Task>, Func<IDictionary<string, object>, Task>>)(next => (Func<IDictionary<string, object>, Task>)nancyOwinHost.Invoke), new object[0]);
|
||||
}
|
||||
|
||||
public string AppUrl
|
||||
{
|
||||
get { return string.Format("http://localhost:{0}", _configFileProvider.Port); }
|
||||
|
|
Loading…
Reference in New Issue