diff --git a/src/Impostor.Server/Program.cs b/src/Impostor.Server/Program.cs index fdcd44d9..ff88293d 100644 --- a/src/Impostor.Server/Program.cs +++ b/src/Impostor.Server/Program.cs @@ -25,7 +25,6 @@ using Impostor.Server.Recorder; using Impostor.Server.Utils; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; @@ -230,10 +229,7 @@ namespace Impostor.Server builder.ConfigureKestrel(serverOptions => { - serverOptions.Listen(IPAddress.Parse(httpConfig.ListenIp), httpConfig.ListenPort, listenOptions => - { - listenOptions.Protocols = HttpProtocols.Http1AndHttp2; - }); + serverOptions.Listen(IPAddress.Parse(httpConfig.ListenIp), httpConfig.ListenPort); }); }); }