mirror of
https://codeberg.org/ashley/poke
synced 2026-04-09 04:37:58 +00:00
add a check lol
This commit is contained in:
@@ -73,6 +73,7 @@ function init(app, config, rendertemplate) {
|
|||||||
|
|
||||||
initlog("Loaded pages - initing poketube finnished :3");
|
initlog("Loaded pages - initing poketube finnished :3");
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
setInterval(function () {
|
||||||
/* PokeTube Update daemon - checks for updates in poketube */
|
/* PokeTube Update daemon - checks for updates in poketube */
|
||||||
(async () => {
|
(async () => {
|
||||||
const url = `https://poketube.fun/api/version.json`;
|
const url = `https://poketube.fun/api/version.json`;
|
||||||
@@ -93,6 +94,7 @@ function init(app, config, rendertemplate) {
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
}, 150000);
|
}, 150000);
|
||||||
|
}, 150000);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
initlog("[FAILED] Load pages \n" + err);
|
initlog("[FAILED] Load pages \n" + err);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user