修复bug

This commit is contained in:
2026-08-08 20:32:33 +08:00
parent ae5dc3eb46
commit 8becd0bf94
20 changed files with 174 additions and 60 deletions
+7
View File
@@ -0,0 +1,7 @@
#include <adminive/adapters/httplib.hpp>
#include <adminive/adapters/nlohmann_json.hpp>
int main() {
httplib::Headers headers{{"X-Adminive", "installed"}};
nlohmann::json value{{"status", 0}, {"transport", "httplib"}};
return headers.empty() || adminive::dump_json(value).empty() ? 1 : 0;
}