From ee63a53d6e91a01e40fef71b885ff4022e14c800 Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Fri, 16 Aug 2024 14:00:31 +0800 Subject: [PATCH] =?UTF-8?q?:new:=20=E8=BF=87=E6=BB=A4=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/top-bar.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/components/top-bar.vue b/web/src/components/top-bar.vue index 41665ef..cb7ba67 100644 --- a/web/src/components/top-bar.vue +++ b/web/src/components/top-bar.vue @@ -61,13 +61,12 @@ let isNew = computed(() => { async function checkLatestVersion() { const timeout = 3000 - const proxy = 'https://ghproxy.com/' try { const timeoutPromise = new Promise((_, reject) => setTimeout(() => reject(new Error('请求超时')), timeout) ) - const url = 'https://api.github.com/repos/chaos-zhu/easynode/releases' + const url = `https://api.github.com/repos/chaos-zhu/easynode/releases?ts=${ new Date().getTime() }` const fetchPromise = fetch(url, { headers: { 'Accept': 'application/vnd.github.v3+json'