From 10ce7a27fe72c6023a0bd214d8e65fb7ac138ea8 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 4 Jan 2026 21:49:22 -0600 Subject: [PATCH] mergerfs_webui.cpp --- src/mergerfs_webui.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/mergerfs_webui.cpp b/src/mergerfs_webui.cpp index 1a98bb5e..a2642da0 100644 --- a/src/mergerfs_webui.cpp +++ b/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) {