fix: Local Configuration

This commit is contained in:
Phat Nguyen
2024-04-08 10:15:45 +07:00
parent 51ff8f8df4
commit cb7a6a2dfd
6 changed files with 200 additions and 42 deletions

View File

@ -50,7 +50,7 @@ void LocalServer::_PUT_config(void) {
statusCode = 200;
response = "Success";
} else {
response = "Set for cloud configuration. Local configuration ignored";
response = config.getFailedMesage();
}
server.send(statusCode, "text/plain", response);
}