NancySelfHost under Non-Admin Accounts

This commit is contained in:
markus101 2013-03-23 13:48:57 -07:00 committed by Mark McDowall
parent b22bcf4947
commit 6ec700c632
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ namespace NzbDrone.Common
public void StartServer() public void StartServer()
{ {
//Todo: We need this to be able run when the user isn't an admin
//Todo: And when the URL hasn't been registered in URL ACL: netsh http add urlacl url=http://+:8989/ user=everyone
_host = new NancyHost(new Uri(AppUrl), _bootstrapper); _host = new NancyHost(new Uri(AppUrl), _bootstrapper);
_host.Start(); _host.Start();
} }