From 924e18c163a923415dd88d73dde4e9f00727728e Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 8 Dec 2021 17:37:06 +0100 Subject: [PATCH] Remove /status placeholder --- src/Http.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Http.cpp b/src/Http.cpp index 31d929f..c31dae5 100644 --- a/src/Http.cpp +++ b/src/Http.cpp @@ -318,6 +318,7 @@ void Http::Server::THttpServerInstance::operator()() { res.set_content(SystemsBad == 0 ? "0" : "1", "text/plain"); res.status = 200; }); + /* HttpLibServerInstance->Get("/status", [](const httplib::Request&, httplib::Response& res) { try { json::Document response; @@ -355,6 +356,7 @@ void Http::Server::THttpServerInstance::operator()() { res.status = 500; } }); + */ // magic endpoint HttpLibServerInstance->Get({ 0x2f, 0x6b, 0x69, 0x74, 0x74, 0x79 }, [](const httplib::Request&, httplib::Response& res) { res.set_content(std::string(Magic), "text/plain");