main app cleanup.

This commit is contained in:
Keivan Beigi 2013-02-28 16:50:50 -08:00 committed by kay.one
commit 8900bbb3a1
20 changed files with 253 additions and 258 deletions

View file

@ -35,11 +35,12 @@ namespace NzbDrone.Common
public void StartServer()
{
_host = new NancyHost(new Uri(AppUrl), _bootstrapper);
_host.Start();
}
public string AppUrl
{
get { return string.Format("http://localhost:{0}/", _configFileProvider.Port); }
get { return string.Format("http://localhost:{0}", _configFileProvider.Port); }
}