Browse Source

fix: dynamic array size

pull/548/head
cKey 4 years ago
parent
commit
95ed5bde9e
  1. 2
      gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs

2
gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs

@ -35,7 +35,7 @@ namespace LINGYUN.MicroService.Internal.ApiGateway.Ocelot.Configuration.Reposito
_environmentFilePath = Path.Combine(
_hostEnvironment.ContentRootPath,
$"ocelot.{hostingEnvironment.EnvironmentName ?? "Development"}.json");
_ocelotFiles = new string[7]
_ocelotFiles = new string[9]
{
"ocelot.global.json",
"ocelot.backendadmin.json",

Loading…
Cancel
Save