mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
comment change
This commit is contained in:
@@ -1474,7 +1474,7 @@ rest_server.get(ES_LOG_ENDPOINT, function (req, res) {
|
||||
res.write(sseFormattedResponse);
|
||||
res.flush(); // this is important
|
||||
|
||||
// if buffer full start over
|
||||
// if buffer is full, start over
|
||||
if (log_index > 50) {
|
||||
fetch_log.events = [];
|
||||
log_index = 0;
|
||||
|
||||
Reference in New Issue
Block a user