added web interface

This commit is contained in:
wt committed 2024-05-24 12:17:50 +07:00
1 parent 821ca31cf1
commit 3bff581f23
14 files changed
+298 -64

No files matched your search

+4
View File
@@ -18,6 +18,10 @@ int main() {
srv.Post("/api/users/del", del_user);
srv.Post("/api/access", user_access);
srv.set_mount_point("/admin", "../src/web");
srv.set_mount_point("/js", "../src/web/js");
srv.set_mount_point("/css", "../src/web/css");
srv.listen("localhost", 43243);
return 0;
}