mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 19:58:44 +05:00
feat: automatic restart after restoring settings
This commit is contained in:
1 parent
f22c64e30c
commit
1ad1f26d4f
1 file changed
+1
@@ -226,6 +226,7 @@ protected:
|
||||
|
||||
bool changed = false;
|
||||
if (doc["settings"] && jsonToSettings(doc["settings"], settings)) {
|
||||
vars.actions.restart = true;
|
||||
fsSettings.update();
|
||||
changed = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user