1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

cleanup startup logging

This commit is contained in:
Kyle Spearrin
2017-10-23 09:11:25 -04:00
parent 21f614bb2e
commit 5069814c4f
5 changed files with 40 additions and 46 deletions

View File

@ -1,4 +1,4 @@
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Bit.Mail
@ -7,14 +7,11 @@ namespace Bit.Mail
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
WebHost
.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();
host.Run();
.Build()
.Run();
}
}
}