mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Changed the order of parameters of set_mounting_point.
This commit is contained in:
parent
82c11168c1
commit
ac7742bb32
4 changed files with 13 additions and 13 deletions
|
@ -122,7 +122,7 @@ int main(int argc, const char **argv) {
|
|||
auto base_dir = "./";
|
||||
if (argc > 2) { base_dir = argv[2]; }
|
||||
|
||||
if (!svr.set_mount_point(base_dir, "/")) {
|
||||
if (!svr.set_mount_point("/", base_dir)) {
|
||||
cout << "The specified base directory doesn't exist...";
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue