Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
63e18ca200
  1. 11
      src/mergerfs_webui.cpp

11
src/mergerfs_webui.cpp

@ -347,17 +347,6 @@ _post_kvs_key(const httplib::Request &req_,
std::string key; std::string key;
std::string val; std::string val;
fmt::print("body: {}; json: {}; empty: {}\n",
req_.body,
(std::string)json::parse(req_.body),
req_.body.empty());
res_.set_content("",
"application/json");
return;
j = json::parse(req_.body); j = json::parse(req_.body);
key = req_.path_params.at("key"); key = req_.path_params.at("key");
val = j; val = j;

Loading…
Cancel
Save