Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Failing after 2h59m50s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 2h58m23s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Failing after 2h58m24s
16 lines
293 B
C++
16 lines
293 B
C++
#include <OpenRouter/OpenRouter.hpp>
|
|
#include <config/config.hpp>
|
|
|
|
int main()
|
|
{
|
|
#ifdef TEST
|
|
return 0;
|
|
#else
|
|
OpenRouter::OpenRouter router;
|
|
return router.serve(
|
|
config::config.getConfig()["server"]["ip"],
|
|
config::config.getConfig()["server"]["port"]
|
|
);
|
|
#endif
|
|
}
|