formated code
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

This commit is contained in:
wt committed 2025-02-13 19:25:56 +07:00
1 parent d1a08ba5ce
commit f4bcead439
46 files changed
+23674 -22776

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ namespace api
{
namespace dns
{
void get_dns(const httplib::Request &request, httplib::Response &response)
void get_dns(const httplib::Request& request, httplib::Response& response)
{
std::cout << GREEN << request.path << RESET << " " << request.method << std::endl;
response.set_header("Access-Control-Allow-Origin", "*");
@@ -37,7 +37,7 @@ namespace api
response.set_content(responsedata.str(), JSON_TYPE);
}
void set_dns(const httplib::Request &request, httplib::Response &response)
void set_dns(const httplib::Request& request, httplib::Response& response)
{
std::cout << GREEN << request.path << RESET << " " << request.method << std::endl;
response.set_header("Access-Control-Allow-Origin", "*");