mirror of
https://codeberg.org/ashley/poke.git
synced 2025-01-08 21:39:25 +01:00
cache moment
This commit is contained in:
parent
1aa70f01bb
commit
eedbfa5e6d
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