diff --git a/Common/Extensions/WebApplicationBuilderExtensions.cs b/Common/Extensions/WebApplicationBuilderExtensions.cs index 6474a32..c9ca82d 100644 --- a/Common/Extensions/WebApplicationBuilderExtensions.cs +++ b/Common/Extensions/WebApplicationBuilderExtensions.cs @@ -7,9 +7,7 @@ public static class WebApplicationBuilderExtensions { public static void ApplyBaseConfiguration(this WebApplicationBuilder builder, Action configurePorts) { - builder.Configuration.AddEnvironmentVariables(); builder.Configuration.AddJsonFile("appsettings.Custom.json", optional: true, reloadOnChange: false); - builder.Configuration.AddJsonFile($"appsettings.{builder.Environment.EnvironmentName}.json", optional: true, reloadOnChange: false); var isDevelopment = builder.Environment.IsDevelopment(); builder.Host.UseDefaultServiceProvider((context, options) =>