Return status JSON when switching animation mode via REST API.
This commit is contained in:
parent
44470ce93d
commit
89de7fc3ff
1 changed files with 1 additions and 0 deletions
|
@ -341,6 +341,7 @@ void setup() {
|
|||
server.on("/set_mode", []() {
|
||||
getArgs();
|
||||
mode = SET_MODE;
|
||||
getStatusJSON();
|
||||
});
|
||||
|
||||
server.begin();
|
||||
|
|
Loading…
Reference in a new issue