This commit is contained in:
cxh 2026-01-05 10:33:18 +08:00
parent 8252a9e004
commit 37a82a9b70

View File

@ -72,7 +72,7 @@ void start_http_server(int port)
j["ok"] = true;
j["server"] = {{"device_type", "tbox"}, {"imei", imei}, {"fw", "b-v2.1.0"}};
res.set_content(j.dump(2), "application/json");
res.set_content(j.dump(-1), "application/json");
});
http_thread = std::thread(