refactor and review

This commit is contained in:
wt committed 2024-06-05 22:46:05 +07:00
1 parent 721e616207
commit 29df9728e2
16 files changed
+351 -174

No files matched your search

+3 -6
View File
@@ -1,9 +1,6 @@
#include <iostream>
#include <fstream>
#include <httplib.h>
#include <json.hpp>
#include <jwt-cpp/jwt.h>
#include "auth/auth.hpp"
#include "users/users.hpp"
#include "colors.h"
@@ -29,9 +26,9 @@ int main() {
srv.set_mount_point("/admin", "../src/web");
srv.set_mount_point("/js", "../src/web/js");
srv.set_mount_point("/css", "../src/web/css");
std::cout << GREEN << "Starting" << RESET << " server on [ " << YELLOW \
<< "localhost" << RESET << ":" << CYAN << "43243" << RESET << " ]" << std::endl;
std::cout << GREEN << "Starting" << RESET << " server on [ " << YELLOW
<< "localhost" << RESET << ":" << CYAN << "43243" << RESET << " ]" << std::endl;
srv.listen("localhost", 43243);
return 0;
}