From eb215e36db8de41b9fd78b94b5818e67c453a0a7 Mon Sep 17 00:00:00 2001 From: Ryan Campbell Date: Fri, 2 Aug 2024 03:13:03 +0000 Subject: [PATCH] copy and paste dust bunny --- src/Program.cs | 3 --- test/debugClient/Program.cs | 3 --- test/integrationTests/TestSharedContext.cs | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/Program.cs b/src/Program.cs index 7984ba6..a24be61 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -13,9 +13,6 @@ public static void Main(string[] args) { // Load any local appsettings incase they're overriding the cluster values builder.Configuration.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.{env:DOTNET_ENVIRONMENT}.json"), optional: true, reloadOnChange: false); - // Build the configuration - build.Configuration.Build(); - builder.WebHost.ConfigureKestrel(options => options.ListenAnyIP(50051, o => o.Protocols = HttpProtocols.Http2)) .ConfigureServices((services) => { services.AddAzureOrbitalFramework(); diff --git a/test/debugClient/Program.cs b/test/debugClient/Program.cs index bbb526c..934d26a 100644 --- a/test/debugClient/Program.cs +++ b/test/debugClient/Program.cs @@ -13,9 +13,6 @@ public static void Main(string[] args) { // Load any local appsettings incase they're overriding the cluster values builder.Configuration.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.{env:DOTNET_ENVIRONMENT}.json"), optional: true, reloadOnChange: false); - // Build the configuration - build.Configuration.Build(); - builder.WebHost.ConfigureKestrel(options => options.ListenAnyIP(50051, o => o.Protocols = HttpProtocols.Http2)) .ConfigureServices((services) => { services.AddAzureOrbitalFramework(); diff --git a/test/integrationTests/TestSharedContext.cs b/test/integrationTests/TestSharedContext.cs index fab52ee..92bceef 100644 --- a/test/integrationTests/TestSharedContext.cs +++ b/test/integrationTests/TestSharedContext.cs @@ -35,9 +35,6 @@ public TestSharedContext() { // Load any local appsettings incase they're overriding the cluster values builder.Configuration.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.{env:DOTNET_ENVIRONMENT}.json"), optional: true, reloadOnChange: false); - // Build the configuration - build.Configuration.Build(); - builder.WebHost.ConfigureKestrel(options => options.ListenAnyIP(50051, o => o.Protocols = HttpProtocols.Http2)) .ConfigureServices((services) => { services.AddAzureOrbitalFramework();