Files
auth_service_c/src/static.c
T
wt 6c556624bd
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 10s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
updated format
2025-09-02 14:39:23 +07:00

9 lines
250 B
C

#include "static.h"
#include "config.h"
void root_handler(struct mg_connection *c, struct mg_http_message *hm) {
struct mg_http_serve_opts opts = {
.root_dir = cm_get_parameter_as_string(config, "web")};
mg_http_serve_dir(c, hm, &opts);
}