hack to invalidate caches

ご主人様
Avril 4 years ago
parent f542f7fcd2
commit 05c03331d2
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -13,10 +13,10 @@
}; };
const fetch_things = async (first_number) => { const fetch_things = async (first_number) => {
const file = fetch(url.root + url.files) const file = fetch(url.root + url.files + "?p=" + Math.random())
.then(resp => resp.text()) .then(resp => resp.text())
.then(data => data.split('\n')); .then(data => data.split('\n'));
const thumb = fetch(url.root + url.thumb + url.files) const thumb = fetch(url.root + url.thumb + url.files + "?q=" + Math.random())
.then(resp => resp.text()) .then(resp => resp.text())
.then(data => data.split('\n')); .then(data => data.split('\n'));
const out = await Promise.all([file, thumb]); const out = await Promise.all([file, thumb]);

Loading…
Cancel
Save