Skip to content

Commit

Permalink
Use the DOTNET_ env var prefix dotnet/extensions#4150 (dotnet/extensi…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher committed Feb 7, 2019
1 parent 573aa49 commit d79e514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/Microsoft.Extensions.Hosting/src/Host.cs
Expand Up @@ -20,7 +20,7 @@ public static IHostBuilder CreateDefaultBuilder(string[] args)
builder.UseContentRoot(Directory.GetCurrentDirectory());
builder.ConfigureHostConfiguration(config =>
{
config.AddEnvironmentVariables(); // TODO: Prefix?
config.AddEnvironmentVariables("DOTNET_");
if (args != null)
{
config.AddCommandLine(args);
Expand Down

0 comments on commit d79e514

Please sign in to comment.