Make packed fs always available, and manually settable

This commit is contained in:
cpq authored and Sergio R. Caprile committed 2026-03-24 15:03:22 -03:00
1 parent 06f525713f
commit 25dc078af7
83 files changed
+289 -8052

No files matched your search

@@ -12,6 +12,7 @@ void fn(struct mg_connection *c, int ev, void *ev_data) {
.root_dir = "/web_root",
.fs = &mg_fs_packed
};
mg_mem_files = mg_packed_files; // Use generated packed filesystem
mg_http_serve_dir(c, ev_data, &opts);
}
}