Add headers to status update data

Add headers to status update data (#5410)
This commit is contained in:
Theo Arends 2019-03-09 15:51:16 +01:00
parent ecbe6ac618
commit 8a43cfb3e6
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }