Fix disabling connecting to own node from web interface
This commit is contained in:
parent
922cb5ae0a
commit
e533f87d08
@ -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 New Issue
Block a user