Untie dash.c from packed fs

This commit is contained in:
cpq committed 2026-05-03 08:40:24 +01:00
1 parent c9f89166f4
commit 5a2e42ae25
5 files changed
+12 -10

No files matched your search

@@ -38,6 +38,7 @@ static struct mg_field_set field_set_status = {
void mg_dash_init(struct mg_mgr *mgr) {
static struct mg_dash dash; // Important: keep it static!
MG_DASH_ADD_FIELD_SET(&dash, &field_set_status);
mg_mem_files = mg_packed_files;
mg_http_listen(mgr, MG_HTTP_ADDR, mg_dash_ev_handler, &dash);
}