Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 4 days ago
parent
commit
7a7042256a
  1. 5
      src/mergerfs_webui.cpp

5
src/mergerfs_webui.cpp

@ -155,7 +155,7 @@ window.onload = () => { loadMounts(); };
)html"; )html";
res_.set_content(html, res_.set_content(html,
"text/html");
"text/html");
} }
#define IERT(S) if(type_ == (S)) return true; #define IERT(S) if(type_ == (S)) return true;
@ -187,10 +187,9 @@ void
_get_mounts(const httplib::Request &req_, _get_mounts(const httplib::Request &req_,
httplib::Response &res_) httplib::Response &res_)
{ {
std::string response = "[";
json json_array;
std::string type; std::string type;
fs::MountVec mounts; fs::MountVec mounts;
bool first = true;
fs::mounts(mounts); fs::mounts(mounts);

Loading…
Cancel
Save