removed left over nancy code from owincontroller.

pull/3113/head
kay.one 12 years ago
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…
Cancel
Save