cache moment

This commit is contained in:
Ashley 2023-03-09 15:50:19 +00:00
parent 350bb363c7
commit 75fa540a94

View file

@ -60,7 +60,7 @@ function init(app, config, rendertemplate) {
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`; const url = `https://poketube.fun/api/version.json?v=3`;
let f = await modules let f = await modules
.fetch(url) .fetch(url)