making easy
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Waiting to run
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Waiting to run
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Waiting to run

This commit is contained in:
wt
2025-02-20 18:07:59 +07:00
parent c376868513
commit cedc9cd995
38 changed files with 313 additions and 1364 deletions
+1 -2
View File
@@ -1,13 +1,12 @@
#include <auth/auth.hpp>
#include <httplib.h>
#include <routes.hpp>
#include <json.hpp>
#include <types.hpp>
#include <config/config.hpp>
bool authenticate(const std::string &token)
{
config::config.setConfig("../config.json")
// config::config.setConfig(std::string("../config.json"));
httplib::Client cli(config::config.getConfig()["auth_service"]);
std::string body = R"({"token":")" + token + R"("})";