2019-07-23 16:38:49 -04:00
|
|
|
|
using Microsoft.AspNetCore;
|
2017-10-08 22:23:17 +02:00
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
2019-07-23 16:38:49 -04:00
|
|
|
|
using Bit.Core.Utilities;
|
|
|
|
|
|
using Serilog.Events;
|
2017-10-08 22:23:17 +02:00
|
|
|
|
|
2017-10-09 13:35:07 -04:00
|
|
|
|
namespace Bit.Icons
|
2017-10-08 22:23:17 +02:00
|
|
|
|
{
|
|
|
|
|
|
public class Program
|
|
|
|
|
|
{
|
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
|
{
|
2017-10-09 14:05:35 -04:00
|
|
|
|
WebHost
|
|
|
|
|
|
.CreateDefaultBuilder(args)
|
2017-10-08 22:23:17 +02:00
|
|
|
|
.UseStartup<Startup>()
|
2019-07-23 16:38:49 -04:00
|
|
|
|
.ConfigureLogging((hostingContext, logging) =>
|
|
|
|
|
|
logging.AddSerilog(hostingContext, e => e.Level >= LogEventLevel.Error))
|
2017-10-09 14:05:35 -04:00
|
|
|
|
.Build()
|
|
|
|
|
|
.Run();
|
|
|
|
|
|
}
|
2017-10-08 22:23:17 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|