main app cleanup.

This commit is contained in:
Keivan Beigi
2013-02-28 16:50:50 -08:00
committed by kay.one
parent da2c0d1d65
commit 8900bbb3a1
20 changed files with 253 additions and 258 deletions
+2 -1
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); }
}