1
This commit is contained in:
parent
8252a9e004
commit
37a82a9b70
@ -72,7 +72,7 @@ void start_http_server(int port)
|
|||||||
j["ok"] = true;
|
j["ok"] = true;
|
||||||
j["server"] = {{"device_type", "tbox"}, {"imei", imei}, {"fw", "b-v2.1.0"}};
|
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(
|
http_thread = std::thread(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user