Browse Source

Reverted path to configuration.json for API gateways.

pull/709/head
v-rodudi 6 years ago
parent
commit
c6153672b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/ApiGateways/ApiGw-Base/Program.cs

+ 1
- 1
src/ApiGateways/ApiGw-Base/Program.cs View File

@ -22,7 +22,7 @@ namespace OcelotApiGw
{
IWebHostBuilder builder = WebHost.CreateDefaultBuilder(args);
builder.ConfigureServices(s => s.AddSingleton(builder))
.ConfigureAppConfiguration(ic => ic.AddJsonFile("appsettings.json"))
.ConfigureAppConfiguration(ic => ic.AddJsonFile(Path.Combine("configuration", "configuration.json")))
.UseStartup<Startup>();
IWebHost host = builder.Build();
return host;


Loading…
Cancel
Save