diff --git a/src/Client.cs b/src/Client.cs index c764833..1f752d0 100644 --- a/src/Client.cs +++ b/src/Client.cs @@ -120,10 +120,6 @@ public static Task DirectToApp(string appId, IMessage message) { public Client() { if (_grpcHost != null || _client != null) return; - - Environment.SetEnvironmentVariable("DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE", "false"); - Environment.SetEnvironmentVariable("DOTNET_USE_POLLING_FILE_WATCHER", "true"); - Environment.SetEnvironmentVariable("DOTNET_SYSTEM_GLOBALIZATION_INVARIANT", "1"); var builder = WebApplication.CreateBuilder(); builder.Configuration.AddJsonFile(Path.Combine(Directory.GetCurrentDirectory(), "appsettings.json"), optional: true, reloadOnChange: false);