Fix problem with an empty parameter in set_base_dir

This commit is contained in:
yhirose 2021-09-20 17:40:05 -04:00
parent e4c276d0c2
commit 503aa61325

View file

@ -622,7 +622,7 @@ public:
Server &Options(const std::string &pattern, Handler handler); Server &Options(const std::string &pattern, Handler handler);
bool set_base_dir(const std::string &dir, bool set_base_dir(const std::string &dir,
const std::string &mount_point = nullptr); const std::string &mount_point = std::string());
bool set_mount_point(const std::string &mount_point, const std::string &dir, bool set_mount_point(const std::string &mount_point, const std::string &dir,
Headers headers = Headers()); Headers headers = Headers());
bool remove_mount_point(const std::string &mount_point); bool remove_mount_point(const std::string &mount_point);