mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +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.write(sseFormattedResponse);
|
||||||
res.flush(); // this is important
|
res.flush(); // this is important
|
||||||
|
|
||||||
// if buffer full start over
|
// if buffer is full, start over
|
||||||
if (log_index > 50) {
|
if (log_index > 50) {
|
||||||
fetch_log.events = [];
|
fetch_log.events = [];
|
||||||
log_index = 0;
|
log_index = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user