mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-29 17:08:49 +01:00
cache moment
This commit is contained in:
parent
350bb363c7
commit
75fa540a94
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue