Skip to content

Commit db1cdb2

Browse files
increase default maxFailCount to 20
1 parent 6ba9a24 commit db1cdb2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

static/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
const reloadInterval = 1000;
33-
const maxFailCount = 5;
33+
const maxFailCount = 20;
3434

3535
async function startReloadInterval() {
3636
const fetchVersion = () => fetch("/api/version").then(response => response.text());
@@ -61,12 +61,12 @@
6161
startReloadInterval();
6262
</script>
6363

64-
<script>
65-
document.body.addEventListener("contextmenu", (e) => {
66-
e.preventDefault();
67-
e.stopPropagation();
68-
});
69-
</script>
64+
<script>
65+
document.body.addEventListener("contextmenu", (e) => {
66+
e.preventDefault();
67+
e.stopPropagation();
68+
});
69+
</script>
7070
</body>
7171

72-
</html>
72+
</html>

0 commit comments

Comments
 (0)