mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-05 05:07:58 +08:00
11 lines
225 B
C++
11 lines
225 B
C++
#include <drogon/drogon.h>
|
|
|
|
using namespace drogon;
|
|
int main()
|
|
{
|
|
app().setLogPath("./");
|
|
app().setLogLevel(trantor::Logger::WARN);
|
|
app().addListener("0.0.0.0", 7770);
|
|
app().setThreadNum(16);
|
|
app().run();
|
|
} |