From 7a7042256a9c0201a4ab20045d2c9f78d2cdcf44 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 9 Jan 2026 21:06:12 -0600 Subject: [PATCH] mergerfs_webui.cpp --- src/mergerfs_webui.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mergerfs_webui.cpp b/src/mergerfs_webui.cpp index 653c2662..4b57648d 100644 --- a/src/mergerfs_webui.cpp +++ b/src/mergerfs_webui.cpp @@ -155,7 +155,7 @@ window.onload = () => { loadMounts(); }; )html"; res_.set_content(html, - "text/html"); + "text/html"); } #define IERT(S) if(type_ == (S)) return true; @@ -187,10 +187,9 @@ void _get_mounts(const httplib::Request &req_, httplib::Response &res_) { - std::string response = "["; + json json_array; std::string type; fs::MountVec mounts; - bool first = true; fs::mounts(mounts);