From 18531d3ee947fcd768358d8b88f7af44332e52e6 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sun, 20 Sep 2026 22:00:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E9=81=BF=E5=85=8D=E5=9C=A8getServe?= =?UTF-8?q?rConfig=E5=93=8D=E5=BA=94=E4=B8=AD=E6=B3=84=E9=9C=B2=E5=AF=86?= =?UTF-8?q?=E9=92=A5=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 0ae6b155..7c948c0c 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -859,6 +859,9 @@ void installWebApi() { CHECK_SECRET(); Value obj; for (auto &pr : mINI::Instance()) { + if (pr.first == API::kSecret) { + continue; + } obj[pr.first] = (string &) pr.second; } val["data"].append(obj);