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.whitelist = { "127.0.0.1", "192.168.*.*" }
|
||||
lovebird.maxlines = 200
|
||||
lovebird.refreshrate = .5
|
||||
lovebird.updateinterval = .5
|
||||
|
||||
lovebird.pages["index"] = [[
|
||||
<?lua
|
||||
@@ -204,7 +204,7 @@ end
|
||||
updateDivContent("status", "disconnected ○");
|
||||
});
|
||||
}
|
||||
setInterval(refreshOutput, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
||||
setInterval(refreshOutput, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||
|
||||
/* Environment variable view */
|
||||
var envPath = "";
|
||||
@@ -256,7 +256,7 @@ end
|
||||
b.value += p;
|
||||
b.focus();
|
||||
}
|
||||
setInterval(refreshEnv, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
||||
setInterval(refreshEnv, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user