#411 Use "webroot" instead of "hosting:webroot"
This commit is contained in:
parent
52796a09a2
commit
2f4c34476b
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ namespace Microsoft.AspNet.Hosting
|
|||
{
|
||||
var vals = new Dictionary<string, string>
|
||||
{
|
||||
{ "Hosting:WebRoot", "testroot" }
|
||||
{ "webroot", "testroot" }
|
||||
};
|
||||
|
||||
var builder = new ConfigurationBuilder()
|
||||
|
|
|
|||
Loading…
Reference in New Issue