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);