From 8a43cfb3e6f50d035c3b551231b92667a6ee7c90 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 9 Mar 2019 15:51:16 +0100 Subject: [PATCH] Add headers to status update data Add headers to status update data (#5410) --- sonoff/xdrv_01_webserver.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index bf1f96f34..2dbeeaa0d 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -950,6 +950,7 @@ bool HandleRootStatusRefresh(void) } snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s"), mqtt_data); } + WSHeaderSend(); WSSend(200, CT_HTML, mqtt_data); return true; }