Added SSL support for influxdb

This commit is contained in:
Magnus Persson
2022-04-24 22:35:10 +02:00
parent b359f3aba8
commit 902d123a68
6 changed files with 54 additions and 10 deletions

View File

@ -232,6 +232,7 @@ class Config {
_saveNeeded = true;
}
bool isInfluxDb2Active() { return _influxDb2Url.length() ? true : false; }
bool isInfluxSSL() { return _influxDb2Url.startsWith("https://"); }
const char* getInfluxDb2PushOrg() { return _influxDb2Org.c_str(); }
void setInfluxDb2PushOrg(String s) {
_influxDb2Org = s;