Skip to content

Commit

Permalink
Merge pull request #169 from automaciej/set-mount-point-slash
Browse files Browse the repository at this point in the history
Define mount point as "/" rather than nullptr.
  • Loading branch information
bondagit authored Jul 25, 2024
2 parents acbb385 + 8629916 commit b34b55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/http_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ bool HttpServer::init() {
return false;
}

svr_.set_mount_point(nullptr, config_->get_http_base_dir().c_str());
svr_.set_mount_point("/", config_->get_http_base_dir().c_str());

svr_.Get("(/|/Config|/PTP|/Sources|/Sinks|/Browser)",
[&](const Request& req, Response& res) {
Expand Down

0 comments on commit b34b55b

Please sign in to comment.