mirror of
https://github.com/drogonframework/drogon.git
synced 2025-11-29 00:01:31 -05:00
10 lines
250 B
C++
10 lines
250 B
C++
#include <drogon/drogon.h>
|
|
int main()
|
|
{
|
|
// Set HTTP listener address and port
|
|
drogon::app().loadConfigFile("../config.json");
|
|
// Run HTTP framework,the method will block in the internal event loop
|
|
drogon::app().run();
|
|
return 0;
|
|
}
|