mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-07 05:31:13 -07:00
Removed the setup code out of the startup, since we attemtp to connect to the DB before that.
This commit is contained in:
parent
e0347d6bbc
commit
81c492aa14
3 changed files with 5 additions and 7 deletions
|
@ -12,10 +12,13 @@ namespace RequestPlex.UI
|
|||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var uri = "http://localhost:3579/";
|
||||
var s = new Setup();
|
||||
s.SetupDb();
|
||||
|
||||
var service = new SettingsService();
|
||||
var settings = service.GetSettings();
|
||||
|
||||
var uri = "http://localhost:3579/";
|
||||
if (settings != null)
|
||||
{
|
||||
uri = $"http://localhost:{settings.Port}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue