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}
|
check: ${BINARY_OUT}
|
||||||
cp -uv $^ ./bin/
|
cp -uv $^ ./bin/
|
||||||
./bin/${BINARY_NAME}
|
cd ./bin/ && ./${BINARY_NAME}
|
||||||
|
|
||||||
syntax: ${CPPS}
|
syntax: ${CPPS}
|
||||||
${CC} ${CFLAGS} -fsyntax-only $^
|
${CC} ${CFLAGS} -fsyntax-only $^
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ bool ServerConfiguration::LoadFromFile(std::string const & filePath)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ServerConfiguration::ServerConfiguration()
|
ServerConfiguration::ServerConfiguration()
|
||||||
: wwwRoot("/home/tijmen/project/http-server/bin/www"),
|
: wwwRoot("./www"),
|
||||||
serverName("http-server"),
|
serverName("http-server"),
|
||||||
port(8080)
|
port(8080)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user