Browse Source

mergerfs_webui.cpp

Antonio SJ Musumeci 3 weeks ago
parent
commit
f33b69a371
  1. 2
      src/mergerfs_webui.cpp

2
src/mergerfs_webui.cpp

@ -389,7 +389,7 @@ _post_kvs_key(const httplib::Request &req_,
std::string val; std::string val;
key = req_.path_params.at("key"); key = req_.path_params.at("key");
val = req_.body;
val = json::parse(req_.body);
mount = req_.get_param_value("mount"); mount = req_.get_param_value("mount");
int rv = mergerfs::api::set_kv(mount,key,val); int rv = mergerfs::api::set_kv(mount,key,val);

Loading…
Cancel
Save