Set default www-root to a relative path

This commit is contained in:
2019-06-15 12:09:02 +02:00
parent eda5d9df6b
commit 22d5430e57
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ clean:
check: ${BINARY_OUT}
cp -uv $^ ./bin/
./bin/${BINARY_NAME}
cd ./bin/ && ./${BINARY_NAME}
syntax: ${CPPS}
${CC} ${CFLAGS} -fsyntax-only $^

View File

@@ -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)
{