added color output in terminal

This commit is contained in:
wt committed 2024-05-30 15:43:37 +07:00
1 parent e7ca69aff1
commit ad94b4d194
11 files changed
+100 -1

No files matched your search

+4 -1
View File
@@ -6,6 +6,7 @@
#include "auth/auth.hpp"
#include "users/users.hpp"
#include "colors.h"
#define CORS_ENABLE
@@ -28,7 +29,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;
srv.listen("localhost", 43243);
return 0;
}