Fix disabling connecting to own node from web interface
This commit is contained in:
parent
922cb5ae0a
commit
e533f87d08
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue