back to what it was :(

pull/42/head
tidusjar 9 years ago
parent cd682cdff9
commit a2d2121afe

@ -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
{ {

Loading…
Cancel
Save