Commit dc72399d authored by Eric Duminil's avatar Eric Duminil
Browse files

Can specify ampel name with AMPEL_NAME

parent 99b75faa
Pipeline #5837 passed with stage
in 2 minutes and 25 seconds
......@@ -167,7 +167,8 @@ namespace web_config {
}
void initialize() {
iotWebConf = new IotWebConf(ampel.sensorId, &dnsServer, &http, "", config_version);
iotWebConf = new IotWebConf(strlen(AMPEL_NAME) == 0 ? ampel.sensorId : AMPEL_NAME, &dnsServer, &http, "",
config_version);
iotWebConf->setHtmlFormatProvider(&optionalGroupHtmlFormatProvider);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment