mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
removed left over nancy code from owincontroller.
This commit is contained in:
parent
91c0e21a4d
commit
a0162d52f9
@ -46,12 +46,6 @@ private void BuildApp(IAppBuilder appBuilder)
|
||||
}
|
||||
}
|
||||
|
||||
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
Block a user