Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
af2bbc5d45
  1. 2
      src/mergerfs_webui.cpp

2
src/mergerfs_webui.cpp

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

Loading…
Cancel
Save