mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Fixed build
This commit is contained in:
parent
0a63dd0ef5
commit
222871c228
4 changed files with 4 additions and 296 deletions
|
@ -95,7 +95,7 @@ namespace Ombi
|
|||
|
||||
Console.WriteLine($"We are running on {urlValue}");
|
||||
|
||||
BuildWebHost(args).Run();
|
||||
CreateWebHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -245,12 +245,11 @@ namespace Ombi
|
|||
}
|
||||
}
|
||||
|
||||
public static IWebHost BuildWebHost(string[] args) =>
|
||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args)
|
||||
.UseStartup<Startup>()
|
||||
.UseUrls(UrlArgs)
|
||||
.PreferHostingUrls(true)
|
||||
.Build();
|
||||
.PreferHostingUrls(true);
|
||||
|
||||
private static string HelpOutput(ParserResult<Options> args)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue