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", []() {
|
server.on("/set_mode", []() {
|
||||||
getArgs();
|
getArgs();
|
||||||
mode = SET_MODE;
|
mode = SET_MODE;
|
||||||
|
getStatusJSON();
|
||||||
});
|
});
|
||||||
|
|
||||||
server.begin();
|
server.begin();
|
||||||
|
|
Loading…
Reference in a new issue