Move octree server data directory to /web

This commit is contained in:
Ryan Huffman 2016-01-19 15:23:14 -08:00
parent 58344416fd
commit 37cfac404e

View file

@ -283,7 +283,7 @@ OctreeServer::~OctreeServer() {
void OctreeServer::initHTTPManager(int port) {
// setup the embedded web server
QString documentRoot = QString("%1/resources/web").arg(ServerPathUtils::getDataDirectory());
QString documentRoot = QString("%1/web").arg(ServerPathUtils::getDataDirectory());
// setup an httpManager with us as the request handler and the parent
_httpManager = new HTTPManager(QHostAddress::AnyIPv4, port, documentRoot, this, this);