mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
switch kestrel back to libuv til bugs are fixed
This commit is contained in:
@ -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))
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv" Version="2.1.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user