Skip to content

Commit

Permalink
Reload every 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
arkwnet committed Feb 26, 2024
1 parent 7e7a737 commit b7162b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/main.js
Original file line number Diff line number Diff line change
@@ -45,6 +45,9 @@ function main() {
if (ct == 4) {
ct = 0;
}
if (now.getSeconds() <= 6 && (min == "00" || min == "30")) {
location.reload();
}
}

// 時刻を文字列に変換

0 comments on commit b7162b6

Please sign in to comment.