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
2025-02-13 19:25:56 +07:00
parent d1a08ba5ce
commit f4bcead439
46 changed files with 23674 additions and 22776 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ namespace api
{
namespace ftp
{
void get_ftp(const httplib::Request &request, httplib::Response &response)
void get_ftp(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_ftp(const httplib::Request &request, httplib::Response &response)
void set_ftp(const httplib::Request& request, httplib::Response& response)
{
std::cout << GREEN << request.path << RESET << " " << request.method << std::endl;
response.set_header("Access-Control-Allow-Origin", "*");