Fix disabling connecting to own node from web interface

This commit is contained in:
Djuri Baars 2023-09-19 23:42:10 +02:00
parent 922cb5ae0a
commit e533f87d08

View File

@ -279,6 +279,9 @@ void onApiSettingsPost(AsyncWebServerRequest *request)
preferences.putString(v.c_str(), pv->value().c_str()); preferences.putString(v.c_str(), pv->value().c_str());
} }
} }
} else {
preferences.putBool("useNode", false);
settingsChanged = true;
} }
request->send(200); request->send(200);