#296 will now do a crappy merge on the configuration

This commit is contained in:
Tom Gardham-Pallister
2018-04-16 20:28:15 +01:00
parent c5aa11f7fb
commit 2ed37cbc83
4 changed files with 191 additions and 32 deletions

View File

@ -22,12 +22,6 @@ namespace Ocelot.ManualTest
.AddJsonFile("appsettings.json", true, true)
.AddJsonFile($"appsettings.{hostingContext.HostingEnvironment.EnvironmentName}.json", true, true)
.AddJsonFile("ocelot.json")
//.AddOcelot();
//load all the ocelot.xxx.json files that are not environments from asp.net core
//merge them into megaconfig
//save megaconfig to disk as ocelot.json
//then add to asp.net config stuff..
.AddEnvironmentVariables();
})
.ConfigureServices(s => {