Browse Source

mergerfs_webui.cpp

webui
Antonio SJ Musumeci 1 week ago
parent
commit
5cfa123a09
  1. 8
      src/mergerfs_webui.cpp

8
src/mergerfs_webui.cpp

@ -13,6 +13,14 @@ void
_get_root(const httplib::Request &req_,
httplib::Response &res_)
{
std::string html;
if(fs::exists("index.html"))
{
res_.set_file_content("index.html");
return;
}
std::string html = R"html(
<!DOCTYPE html>
<html>

Loading…
Cancel
Save