Merge branch 'release' into dev

This commit is contained in:
BrennanConroy 2016-04-28 10:06:13 -07:00
commit d5b1df13cf
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal
hostingEnvironment.EnvironmentName =
options.Environment ??
Environment.GetEnvironmentVariable($"ASPNETCORE_{WebHostDefaults.EnvironmentKey}") ??
Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ??
hostingEnvironment.EnvironmentName;
}
}