Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
d8b33f496f
  1. 10
      src/mergerfs_webui.cpp

10
src/mergerfs_webui.cpp

@ -170,11 +170,11 @@ _get_mounts(const httplib::Request &req_,
j = json::array();
for(const auto &mount : mounts)
{
if((not type.empty()) and (mount.type != type))
continue;
if(mount.type != "fuse.mergerfs")
continue;
j.push_back(mount.dir);
// if((not type.empty()) and (mount.type != type))
// continue;
// if(mount.type != "fuse.mergerfs")
// continue;
j.push_back(mount.type);
}
res_.set_content(j.dump(),

Loading…
Cancel
Save