#411 Use "webroot" instead of "hosting:webroot"

This commit is contained in:
Chris R 2015-10-26 13:43:00 -07:00
parent 52796a09a2
commit 2f4c34476b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Hosting
private const string OldEnvironmentKey = "ASPNET_ENV";
private const string EnvironmentKey = "Hosting:Environment";
private const string WebRootKey = "Hosting:WebRoot";
private const string WebRootKey = "webroot";
public static void Initialize(this IHostingEnvironment hostingEnvironment, string applicationBasePath, IConfiguration config)
{

View File

@ -260,7 +260,7 @@ namespace Microsoft.AspNet.Hosting
{
var vals = new Dictionary<string, string>
{
{ "Hosting:WebRoot", "testroot" }
{ "webroot", "testroot" }
};
var builder = new ConfigurationBuilder()