back to what it was :(

This commit is contained in:
tidusjar 2016-03-18 23:28:24 +00:00
parent cd682cdff9
commit a2d2121afe

View file

@ -71,11 +71,10 @@ namespace PlexRequests.UI
if (port == -1) if (port == -1)
port = GetStartupPort(); port = GetStartupPort();
var options = new StartOptions var options = new StartOptions($"http://+:{port}")
{ {
ServerFactory = "Microsoft.Owin.Host.HttpListener" ServerFactory = "Microsoft.Owin.Host.HttpListener"
}; };
options.Urls.Add($"http://localhost:{port}/");
try try
{ {