Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
10ce7a27fe
  1. 12
      src/mergerfs_webui.cpp

12
src/mergerfs_webui.cpp

@ -313,18 +313,10 @@ _post_kvs_key(const httplib::Request &req_,
key = req_.path_params.at("key");
mount = req_.get_param_value("mount");
j = json::parse(req_.body);
j = json::parse(req_.body);
mount = req_.get_param_value("mount");
for(const auto &[key,val] : j.items())
{
std::cout << "mount=" << mount << " | "
<< key << ": " << (std::string)val
<< std::endl;
}
res_.set_content("{}","application/json");
res_.set_content("","application/json");
}
catch (const std::exception& e)
{

Loading…
Cancel
Save