diff --git a/main.cc b/main.cc index 57aa6c5..845b840 100644 --- a/main.cc +++ b/main.cc @@ -6,7 +6,7 @@ int main() { drogon::app().addListener(LISTEN_ADDR, LISTEN_PORT). enableSession(std::chrono::minutes(1200)). createDbClient(DB_TYPE, DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD). - setFileTypes({"css", "png", "ico"}); + setFileTypes({"css", "png", "ico", "js"}); // Run HTTP framework, the method will block in the internal event loop drogon::app().run(); return 0;