mirror of https://github.com/arendst/Tasmota.git
Add headers to status update data
Add headers to status update data (#5410)
This commit is contained in:
parent
ecbe6ac618
commit
8a43cfb3e6
|
@ -950,6 +950,7 @@ bool HandleRootStatusRefresh(void)
|
||||||
}
|
}
|
||||||
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s</tr></table>"), mqtt_data);
|
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s</tr></table>"), mqtt_data);
|
||||||
}
|
}
|
||||||
|
WSHeaderSend();
|
||||||
WSSend(200, CT_HTML, mqtt_data);
|
WSSend(200, CT_HTML, mqtt_data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue