mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Added the functionality to pass a port through an argument
This commit is contained in:
parent
24b2cd0a9c
commit
78c4ed2c06
1 changed files with 8 additions and 3 deletions
|
@ -48,7 +48,12 @@ namespace PlexRequests.UI
|
|||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
||||
var uri = string.Empty;
|
||||
if (args.Length > 0)
|
||||
{
|
||||
uri = args[0];
|
||||
}
|
||||
|
||||
Log.Trace("Getting assembly version");
|
||||
WriteOutVersion();
|
||||
|
||||
|
@ -57,8 +62,8 @@ namespace PlexRequests.UI
|
|||
|
||||
//ConfigureTargets(connection);
|
||||
|
||||
|
||||
var uri = GetStartupUri();
|
||||
if(string.IsNullOrEmpty(uri))
|
||||
uri = GetStartupUri();
|
||||
|
||||
using (WebApp.Start<Startup>(uri))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue