Merge pull request #3477 from cesanta/mem

Make packed fs always available, and manually settable
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2026-04-01 14:36:58 -03:00
commit ae5a2263ac
83 files changed
+289 -8052

No files matched your search

+1
View File
@@ -3211,6 +3211,7 @@ static void eh7(struct mg_connection *c, int ev, void *ev_data) {
memset(&sopts, 0, sizeof(sopts));
sopts.root_dir = "/";
sopts.fs = &mg_fs_packed;
mg_mem_files = mg_packed_files;
mg_http_serve_dir(c, hm, &sopts);
}
}