Make packed fs always available, and manually settable

This commit is contained in:
cpq authored and Sergio R. Caprile committed 2026-03-27 11:24:07 -03:00
1 parent 1bb85799ce
commit 4f3d6d064c
83 files changed
+289 -8052

No files matched your search

+1
View File
@@ -3187,6 +3187,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);
}
}