Closed
Description
I came across this problem when running the examples in an IDE such as CLion.
In a simple example where we set a folder as the base directory for the static file server, and the folder does not exist, the library does not complain. Now this could perhaps sometimes be wanted, but i think it would be save to print a warning in that case, because its most certainly not what was intended.
The code i'm talking about looks like this:
svr.set_base_dir("./www", "/public");
The problem is that for example CLion does not run the executable, by default, in the project root folder, but the build directory. As there are no errors, its not an easy to debug issue.
Metadata
Metadata
Assignees
Labels
No labels