mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 14:49:03 +01:00
add a check lol
This commit is contained in:
parent
fa7a749d76
commit
b2d65bba98
1 changed files with 18 additions and 16 deletions
|
@ -73,6 +73,7 @@ function init(app, config, rendertemplate) {
|
|||
|
||||
initlog("Loaded pages - initing poketube finnished :3");
|
||||
setTimeout(function () {
|
||||
setInterval(function () {
|
||||
/* PokeTube Update daemon - checks for updates in poketube */
|
||||
(async () => {
|
||||
const url = `https://poketube.fun/api/version.json`;
|
||||
|
@ -93,6 +94,7 @@ function init(app, config, rendertemplate) {
|
|||
}
|
||||
})();
|
||||
}, 150000);
|
||||
}, 150000);
|
||||
} catch (err) {
|
||||
initlog("[FAILED] Load pages \n" + err);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue