diff --git a/src/mergerfs_webui.cpp b/src/mergerfs_webui.cpp index 74214081..207a6f9c 100644 --- a/src/mergerfs_webui.cpp +++ b/src/mergerfs_webui.cpp @@ -217,8 +217,10 @@ _get_kv(const httplib::Request &req_, } json j; + std::string key; std::string mount; + key = req_.path_params.at("key"); mount = req_.get_param_value("mount"); mergerfs::api::get_kvs(mount,&kvs);