mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
moved everything up a directory
This commit is contained in:
parent
448cd8d92e
commit
9a78f790a6
76 changed files with 0 additions and 0 deletions
32
RequestPlex.UI/Program.cs
Normal file
32
RequestPlex.UI/Program.cs
Normal file
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
|
||||
using Microsoft.Owin.Hosting;
|
||||
|
||||
using Nancy.Hosting.Self;
|
||||
|
||||
using RequestPlex.Core;
|
||||
|
||||
namespace RequestPlex.UI
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var service = new SettingsService();
|
||||
var settings = service.GetSettings();
|
||||
|
||||
var uri = "http://localhost:3579/";
|
||||
if (settings != null)
|
||||
{
|
||||
uri = $"http://localhost:{settings.Port}";
|
||||
}
|
||||
|
||||
using (WebApp.Start<Startup>(uri))
|
||||
{
|
||||
Console.WriteLine("Running on {0}", uri);
|
||||
Console.WriteLine("Press enter to exit");
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue