2019-11-06 17:02:06 +01:00
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
|
2020-06-20 22:02:20 +02:00
|
|
|
namespace squirrowse.web
|
2019-11-06 17:02:06 +01:00
|
|
|
{
|
|
|
|
public class Program
|
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
CreateHostBuilder(args).Build().Run();
|
|
|
|
}
|
|
|
|
|
2019-11-07 11:52:27 +01:00
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args)
|
|
|
|
{
|
|
|
|
return Host.CreateDefaultBuilder(args)
|
2020-06-20 22:02:20 +02:00
|
|
|
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>().UseUrls("http://0.0.0.0:5000"); });
|
2019-11-07 11:52:27 +01:00
|
|
|
}
|
2019-11-06 17:02:06 +01:00
|
|
|
}
|
2020-06-20 22:02:20 +02:00
|
|
|
}
|