diff --git a/Kasbot.APP/Kasbot.App.csproj b/Kasbot.APP/Kasbot.App.csproj
index be51e56..5877eca 100644
--- a/Kasbot.APP/Kasbot.App.csproj
+++ b/Kasbot.APP/Kasbot.App.csproj
@@ -14,7 +14,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
diff --git a/Kasbot.APP/Program.cs b/Kasbot.APP/Program.cs
index ff8cf00..429ef18 100644
--- a/Kasbot.APP/Program.cs
+++ b/Kasbot.APP/Program.cs
@@ -6,8 +6,10 @@ using Kasbot.App.Services.Internal;
using Kasbot.Services;
using Kasbot.Services.Internal;
using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Options;
using Serilog;
namespace Kasbot
@@ -41,9 +43,18 @@ namespace Kasbot
{
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddGrpc();
+ builder.WebHost.ConfigureKestrel(options =>
+ {
+ options.Listen(System.Net.IPAddress.Any, 5001, listenOptions =>
+ {
+ listenOptions.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1;
+ });
+ });
var app = builder.Build();
app.MapGrpcService();
+
+
app.Run(url: "https://localhost:7042");
}