1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 14:23:38 +00:00

update to aspnet 2.1.4

This commit is contained in:
Kyle Spearrin
2018-09-11 13:29:34 -04:00
parent 4ec5f2fdb2
commit ce309c27d4
24 changed files with 24 additions and 48 deletions

View File

@@ -14,9 +14,7 @@ namespace Bit.Server
var builder = new WebHostBuilder()
.UseConfiguration(config)
.UseKestrel()
.UseStartup<Startup>()
// ref: https://github.com/aspnet/KestrelHttpServer/issues/2694
.UseLibuv();
.UseStartup<Startup>();
var contentRoot = config.GetValue<string>("contentRoot");
if(string.IsNullOrWhiteSpace(contentRoot))