From 47910c60a63dd55cf2371e525ecaca2947c94327 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 17 Sep 2019 13:26:51 +0200 Subject: [PATCH] fix: not found page file path fixed --- main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);