mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
don't query the session as much in the modules, rely on a variable from the base class and store the username as needed
This commit is contained in:
parent
a028a68a08
commit
a668ea04ec
4 changed files with 29 additions and 15 deletions
|
@ -69,7 +69,7 @@ namespace PlexRequests.UI
|
|||
if (port == -1)
|
||||
port = GetStartupPort();
|
||||
|
||||
var options = new StartOptions( $"http://+:{port}")
|
||||
var options = new StartOptions(Debugger.IsAttached ? $"http://localhost:{port}" : $"http://+:{port}")
|
||||
{
|
||||
ServerFactory = "Microsoft.Owin.Host.HttpListener"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue