mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fix problem with an empty parameter in set_base_dir
This commit is contained in:
parent
e4c276d0c2
commit
503aa61325
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue