修复bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user