From 05c03331d214e7dbcef8f0c41ec16984d825df0f Mon Sep 17 00:00:00 2001 From: Flan's server Date: Mon, 10 Aug 2020 23:30:58 +0000 Subject: [PATCH] hack to invalidate caches --- src/index.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.svelte b/src/index.svelte index 32bae6d..f6c1167 100644 --- a/src/index.svelte +++ b/src/index.svelte @@ -13,10 +13,10 @@ }; 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(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(data => data.split('\n')); const out = await Promise.all([file, thumb]);