1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00

removed left over nancy code from owincontroller.

This commit is contained in:
kay.one 2013-05-20 11:47:30 -07:00
parent 91c0e21a4d
commit a0162d52f9

View file

@ -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); }