mirror of
https://github.com/TangentFoxy/lovebird.git
synced 2025-07-28 11:02:19 +00:00
Renamed lovebird.refreshrate -> lovebird.updateinterval
This commit is contained in:
@@ -23,7 +23,7 @@ lovebird.allowhtml = true
|
|||||||
lovebird.port = 8000
|
lovebird.port = 8000
|
||||||
lovebird.whitelist = { "127.0.0.1", "192.168.*.*" }
|
lovebird.whitelist = { "127.0.0.1", "192.168.*.*" }
|
||||||
lovebird.maxlines = 200
|
lovebird.maxlines = 200
|
||||||
lovebird.refreshrate = .5
|
lovebird.updateinterval = .5
|
||||||
|
|
||||||
lovebird.pages["index"] = [[
|
lovebird.pages["index"] = [[
|
||||||
<?lua
|
<?lua
|
||||||
@@ -204,7 +204,7 @@ end
|
|||||||
updateDivContent("status", "disconnected ○");
|
updateDivContent("status", "disconnected ○");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
setInterval(refreshOutput, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
setInterval(refreshOutput, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||||
|
|
||||||
/* Environment variable view */
|
/* Environment variable view */
|
||||||
var envPath = "";
|
var envPath = "";
|
||||||
@@ -256,7 +256,7 @@ end
|
|||||||
b.value += p;
|
b.value += p;
|
||||||
b.focus();
|
b.focus();
|
||||||
}
|
}
|
||||||
setInterval(refreshEnv, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
setInterval(refreshEnv, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user