Skip to content
Snippets Groups Projects
Commit e0aeead8 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add app id change

parent 940be18d
No related branches found
No related tags found
1 merge request!197Multiple stream qualities per client
Pipeline #17110 passed
...@@ -438,7 +438,7 @@ static bool findConfiguration(const string &file, const vector<string> &paths) { ...@@ -438,7 +438,7 @@ static bool findConfiguration(const string &file, const vector<string> &paths) {
} }
if (found) { if (found) {
_indexConfig(config); //_indexConfig(config);
return true; return true;
} else { } else {
return false; return false;
...@@ -593,6 +593,9 @@ Configurable *ftl::config::configure(int argc, char **argv, const std::string &r ...@@ -593,6 +593,9 @@ Configurable *ftl::config::configure(int argc, char **argv, const std::string &r
string root_str = (options.find("root") != options.end()) ? nlohmann::json::parse(options["root"]).get<string>() : root; string root_str = (options.find("root") != options.end()) ? nlohmann::json::parse(options["root"]).get<string>() : root;
if (options.find("id") != options.end()) config["$id"] = nlohmann::json::parse(options["id"]).get<string>();
_indexConfig(config);
Configurable *rootcfg = create<Configurable>(config); Configurable *rootcfg = create<Configurable>(config);
if (root_str.size() > 0) { if (root_str.size() > 0) {
LOG(INFO) << "Setting root to " << root_str; LOG(INFO) << "Setting root to " << root_str;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment