From f122db8e0485cdd9a2bde5d95b54dc21d8907f2b Mon Sep 17 00:00:00 2001 From: wangwj Date: Thu, 10 Sep 2026 14:21:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20data.json=20=E5=8A=A0=20cache-busting?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E6=B5=8F=E8=A7=88=E5=99=A8=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E6=97=A7=E6=95=B0=E6=8D=AE=E5=AF=BC=E8=87=B4=E9=93=BE?= =?UTF-8?q?=E6=8E=A5/=E9=89=B4=E6=9D=83=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 935499b..179e103 100644 --- a/index.html +++ b/index.html @@ -196,7 +196,7 @@ function authPill(a){ return '公开'; } -fetch('data.json') +fetch('data.json?_=' + Date.now(), {cache: 'no-store'}) .then(function(r){ if(!r.ok) throw new Error('HTTP '+r.status); return r.json(); }) .then(function(d){ document.getElementById('gen-meta').textContent = '统计时间:' + d.generated_at;