Skip to content

Commit 9779626

Browse files
committed
squash! server : use httplib status codes [no ci]
Remove duplicate status code setting in server.cpp
1 parent 5e602e9 commit 9779626

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/server/server.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4321,7 +4321,6 @@ int main(int argc, char ** argv) {
43214321
});
43224322
}
43234323
res_ok(res, result);
4324-
res.status = httplib::StatusCode::OK_200; // HTTP OK
43254324
};
43264325

43274326
const auto handle_lora_adapters_apply = [&](const httplib::Request & req, httplib::Response & res) {

0 commit comments

Comments
 (0)