1
0
Fork 0
mirror of https://github.com/lumapu/ahoy.git synced 2025-06-01 10:11:37 +02:00

use mSendInterval for showIndex and index.html

This commit is contained in:
Stefan Thieme 2022-06-01 23:46:38 +02:00
parent a9d4418bc0
commit 9e5105a98b
3 changed files with 7 additions and 4 deletions
tools/esp8266

View file

@ -376,6 +376,8 @@ void app::showIndex(void) {
String html = FPSTR(index_html);
html.replace(F("{DEVICE}"), mDeviceName);
html.replace(F("{VERSION}"), mVersion);
html.replace(F("{TS}"), String(mSendInterval) + " ");
html.replace(F("{JS_TS}"), String(mSendInterval * 1000));
mWeb->send(200, "text/html", html);
}