Use chained configuration
This commit is contained in:
parent
5ca9f8928f
commit
8b30efbe75
|
|
@ -232,7 +232,7 @@ namespace Microsoft.AspNetCore.Hosting
|
||||||
|
|
||||||
var builder = new ConfigurationBuilder()
|
var builder = new ConfigurationBuilder()
|
||||||
.SetBasePath(_hostingEnvironment.ContentRootPath)
|
.SetBasePath(_hostingEnvironment.ContentRootPath)
|
||||||
.AddInMemoryCollection(_config.AsEnumerable());
|
.AddConfiguration(_config);
|
||||||
|
|
||||||
foreach (var configureAppConfiguration in _configureAppConfigurationBuilderDelegates)
|
foreach (var configureAppConfiguration in _configureAppConfigurationBuilderDelegates)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue