mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 21:48:15 +08:00
#296 renamed configuration.json to ocelot.json in preparation
This commit is contained in:
2
samples/OcelotServiceFabric/.gitignore
vendored
2
samples/OcelotServiceFabric/.gitignore
vendored
@ -13,7 +13,7 @@
|
||||
# Service fabric
|
||||
OcelotApplicationApiGatewayPkg/Code
|
||||
OcelotApplication/OcelotApplicationApiGatewayPkg/Code/appsettings.json
|
||||
OcelotApplication/OcelotApplicationApiGatewayPkg/Code/configuration.json
|
||||
OcelotApplication/OcelotApplicationApiGatewayPkg/Code/ocelot.json
|
||||
OcelotApplication/OcelotApplicationApiGatewayPkg/Code/runtimes/
|
||||
OcelotApplicationServicePkg/Code
|
||||
OcelotApplication/OcelotApplicationApiGatewayPkg/Code/web.config
|
||||
|
@ -8,7 +8,7 @@
|
||||
<PackageId>OcelotApplicationApiGateway</PackageId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Update="configuration.json;appsettings.json;">
|
||||
<None Update="ocelot.json;appsettings.json;">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
@ -67,7 +67,7 @@ namespace OcelotApplicationApiGateway
|
||||
.SetBasePath(hostingContext.HostingEnvironment.ContentRootPath)
|
||||
.AddJsonFile("appsettings.json", true, true)
|
||||
.AddJsonFile($"appsettings.{hostingContext.HostingEnvironment.EnvironmentName}.json", true, true)
|
||||
.AddJsonFile("configuration.json")
|
||||
.AddJsonFile("ocelot.json")
|
||||
.AddEnvironmentVariables();
|
||||
})
|
||||
.ConfigureLogging((hostingContext, logging) =>
|
||||
|
Reference in New Issue
Block a user