Return status JSON when switching animation mode via REST API.

This commit is contained in:
Tobias Blum 2017-02-05 16:34:38 +01:00
parent 44470ce93d
commit 89de7fc3ff

View file

@ -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();