1- #include " utils/cortex_utils.h"
2- #include < climits> // for PATH_MAX
31#include < drogon/HttpAppFramework.h>
42#include < drogon/drogon.h>
3+ #include < climits> // for PATH_MAX
54#include < iostream>
5+ #include " utils/cortex_utils.h"
66
77#if defined(__APPLE__) && defined(__MACH__)
8- #include < libgen.h> // for dirname()
8+ #include < libgen.h> // for dirname()
99#include < mach-o/dyld.h>
1010#elif defined(__linux__)
11- #include < libgen.h> // for dirname()
12- #include < unistd.h> // for readlink()
11+ #include < libgen.h> // for dirname()
12+ #include < unistd.h> // for readlink()
1313#elif defined(_WIN32)
1414#include < windows.h>
1515#undef max
1616#else
1717#error "Unsupported platform!"
1818#endif
1919
20- int main (int argc, char * argv[]) {
20+ int main (int argc, char * argv[]) {
2121 int thread_num = 1 ;
2222 std::string host = " 127.0.0.1" ;
2323 int port = 3928 ;
@@ -35,7 +35,7 @@ int main(int argc, char *argv[]) {
3535
3636 // Check for port argument
3737 if (argc > 3 ) {
38- port = std::atoi (argv[3 ]); // Convert string argument to int
38+ port = std::atoi (argv[3 ]); // Convert string argument to int
3939 }
4040
4141 // Uploads folder path
@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) {
4545
4646 int logical_cores = std::thread::hardware_concurrency ();
4747 int drogon_thread_num = std::max (thread_num, logical_cores);
48- cortex_utils::nitro_logo ();
48+ // cortex_utils::nitro_logo();
4949#ifdef CORTEX_CPP_VERSION
5050 LOG_INFO << " cortex-cpp version: " << CORTEX_CPP_VERSION;
5151#else
0 commit comments