Bug 62544 - Settings:Restore: add elastic.json in ASC.Data.Backup.BackgroundTasks

This commit is contained in:
Anton Suhorukov 2023-05-12 14:56:36 +03:00
parent d2aa4ca9b4
commit cff0bed424

View File

@ -34,7 +34,9 @@ public static class ConfigurationManagerExtension
{
config.AddJsonFile("notify.json", optional: false, reloadOnChange: true)
.AddJsonFile($"notify.{env.EnvironmentName}.json", optional: true, reloadOnChange: true)
.AddJsonFile("backup.json", optional: false, reloadOnChange: true);
.AddJsonFile("backup.json", optional: false, reloadOnChange: true)
.AddJsonFile("elastic.json", optional: false, reloadOnChange: true)
.AddJsonFile($"elastic.{env.EnvironmentName}.json", optional: true, reloadOnChange: true);
return config;
}