Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
13 lines
259 B
C++
13 lines
259 B
C++
#include <OpenRouter/OpenRouter.hpp>
|
|
#include <config/config.hpp>
|
|
|
|
int main()
|
|
{
|
|
OpenRouter router;
|
|
#ifdef TEST
|
|
return 0;
|
|
#else
|
|
return router.serve(config::config.getConfig()["server"]["ip"], config::config.getConfig()["server"]["port"]);
|
|
#endif
|
|
}
|