reload the page every four hours to keep the code updated

This commit is contained in:
Jesse D. McDonald 2020-03-13 10:37:13 -05:00
parent 75ec7c2ac8
commit f4340312fd
1 changed files with 3 additions and 0 deletions

View File

@ -821,6 +821,9 @@ $(function (){
switchGameId(gameId);
}
};
/* force page reload after four hours to keep client code up to date */
window.setTimeout(function(){ location.reload(); }, 4*3600*1000);
});
/* vim:set expandtab sw=3 ts=8: */