mirror of
https://github.com/Relintai/broken_seals_site.git
synced 2024-11-11 21:15:01 +01:00
12 lines
321 B
C++
12 lines
321 B
C++
#include <drogon/drogon.h>
|
|
int main() {
|
|
//Set HTTP listener address and port
|
|
drogon::app().addListener("0.0.0.0", 8080);
|
|
//Load config file
|
|
drogon::app().loadConfigFile("config.json");
|
|
//Run HTTP framework,the method will block in the internal event loop
|
|
drogon::app().run();
|
|
|
|
return 0;
|
|
}
|