Set default www-root to a relative path
This commit is contained in:
2
makefile
2
makefile
@@ -28,7 +28,7 @@ clean:
|
||||
|
||||
check: ${BINARY_OUT}
|
||||
cp -uv $^ ./bin/
|
||||
./bin/${BINARY_NAME}
|
||||
cd ./bin/ && ./${BINARY_NAME}
|
||||
|
||||
syntax: ${CPPS}
|
||||
${CC} ${CFLAGS} -fsyntax-only $^
|
||||
|
||||
@@ -7,7 +7,7 @@ bool ServerConfiguration::LoadFromFile(std::string const & filePath)
|
||||
}
|
||||
|
||||
ServerConfiguration::ServerConfiguration()
|
||||
: wwwRoot("/home/tijmen/project/http-server/bin/www"),
|
||||
: wwwRoot("./www"),
|
||||
serverName("http-server"),
|
||||
port(8080)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user