From 98c82ed2ecbe74e28fab57f584a4ed5d2568d9ab Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Wed, 14 Sep 2022 00:53:12 +0200 Subject: [PATCH] Left Column / Update Telegram: Ignore cache --- src/global/actions/ui/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/actions/ui/misc.ts b/src/global/actions/ui/misc.ts index 6c94a0d97..e663f381b 100644 --- a/src/global/actions/ui/misc.ts +++ b/src/global/actions/ui/misc.ts @@ -408,7 +408,7 @@ addActionHandler('updateLastRenderedCustomEmojis', (global, actions, payload) => addActionHandler('checkAppVersion', () => { const APP_VERSION_REGEX = /^\d+\.\d+(\.\d+)?$/; - fetch(APP_VERSION_URL) + fetch(`${APP_VERSION_URL}?${Date.now()}`) .then((response) => { return response.text(); }).then((version) => {