mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 01:38:16 +08:00
removed some async we dont need
This commit is contained in:
@ -22,6 +22,12 @@ 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 => {
|
||||
|
Reference in New Issue
Block a user