From 67505414d9078fceed93b97121a93b38832a7c2c Mon Sep 17 00:00:00 2001 From: mac Date: Thu, 4 Jun 2026 16:01:09 +0800 Subject: [PATCH] =?UTF-8?q?v1.4.3=20=E2=80=94=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=93=9D=E5=9B=BE=E6=97=A0=E6=95=B0=E6=8D=AE:=20apiGetStats=20?= =?UTF-8?q?=E5=8F=96=E9=94=99=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index a2b322b..906562c 100644 --- a/static/app.js +++ b/static/app.js @@ -86,7 +86,7 @@ function apiGetStats(cb) { fetch('/api/stats') .then(function(r){ return r.json(); }) - .then(function(res){ if (res.ok) cb(null, res.data); else cb(res.error); }) + .then(function(res){ if (res.ok) cb(null, res); else cb(res.error); }) .catch(function(e){ cb(e.message); }); }