From 2718f8963e9ade8fc5b002786770e16999a743d8 Mon Sep 17 00:00:00 2001 From: Ronny Gunawan <3048897+ronnygunawan@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:29:55 +0700 Subject: [PATCH] Use CreateBuilder --- BotNet/Program.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BotNet/Program.cs b/BotNet/Program.cs index 46a21a7..5fe62b6 100644 --- a/BotNet/Program.cs +++ b/BotNet/Program.cs @@ -29,10 +29,7 @@ using Microsoft.Extensions.Hosting; using Orleans.Hosting; -WebApplicationBuilder builder = WebApplication.CreateSlimBuilder(args); - -// HTTPS -builder.WebHost.UseKestrelHttpsConfiguration(); +WebApplicationBuilder builder = WebApplication.CreateBuilder(args); // Configuration sources builder.Configuration.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)