Merge pull request #3076 from cptpcrd/reload-config

Fix reloading config
This commit is contained in:
Alexis Rouillard 2024-03-24 22:06:56 +01:00 committed by GitHub
commit 487ab23259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ void Config::load(const std::string &config) {
}
config_file_ = file.value();
spdlog::info("Using configuration file {}", config_file_);
config_ = Json::Value();
setupConfig(config_, config_file_, 0);
}