mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Fix problem with an empty parameter in set_base_dir
This commit is contained in:
1 parent
e4c276d0c2
commit
503aa61325
1 file changed
+1
-1
@@ -622,7 +622,7 @@ public:
|
||||
Server &Options(const std::string &pattern, Handler handler);
|
||||
|
||||
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,
|
||||
Headers headers = Headers());
|
||||
bool remove_mount_point(const std::string &mount_point);
|
||||
|
||||
Reference in new issue
Block a user