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:
parent
a9d4418bc0
commit
9e5105a98b
3 changed files with 7 additions and 4 deletions
tools/esp8266
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue