diff --git a/main.cc b/main.cc index 8509816..ccff3ea 100644 --- a/main.cc +++ b/main.cc @@ -50,7 +50,7 @@ main() drogon::app().loadConfigFile("config.json"); drogon::app().registerPostHandlingAdvice(add_cors_headers); - drogon::app().instance().setCustom404Page(drogon::HttpResponse::newFileResponse("./index.html", "", drogon::CT_TEXT_HTML)); + drogon::app().instance().setCustom404Page(drogon::HttpResponse::newFileResponse("./static/index.html", "", drogon::CT_TEXT_HTML)); //drogon::app().getLoop()->runEvery(1, &test);