mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 08:18:29 +01:00
fix a thingy
This commit is contained in:
parent
e94c83c240
commit
ccdc6ceb3e
1 changed files with 6 additions and 5 deletions
|
@ -63,8 +63,8 @@ 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 () {
|
/* 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?v=3`;
|
const url = `https://poketube.fun/api/version.json?v=3`;
|
||||||
|
|
||||||
|
@ -83,13 +83,14 @@ function init(app, config, rendertemplate) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
}, 99999); /* setInterval */
|
}, 999999999999999999999999999999); /* setInterval */
|
||||||
}, 10000);
|
|
||||||
|
}, 1000);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
initlog("[FAILED] Load pages \n" + err);
|
initlog("[FAILED] Load pages \n" + err);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
}, 10000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Loading…
Reference in a new issue