Skip to content

Commit 6df4918

Browse files
committed
Account update every 1 minute
1 parent f8dfd09 commit 6df4918

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/resources/templates/account.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@
1313
function redirect(id) {
1414
location.href="/account/" + id
1515
}
16+
17+
function redirectTimer() {
18+
setTimeout('location.href="/account";', 60000);
19+
}
1620
</script>
1721
</head>
18-
<body style="background-color: #dfdfe9;">
22+
<body style="background-color: #dfdfe9;" onload="redirectTimer()">
1923
<div class="my-4 container-fluid">
2024
<div class="row justify-content-center">
2125
<div class="col-11 col-xl-11">

0 commit comments

Comments
 (0)