1
0
mirror of https://github.com/bitwarden/server synced 2025-12-13 06:43:45 +00:00

switch kestrel back to libuv til bugs are fixed

This commit is contained in:
Kyle Spearrin
2018-08-06 16:42:55 -04:00
parent 67830e12c8
commit e6aaddaed1
16 changed files with 25 additions and 1 deletions

View File

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