mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Merge pull request #3477 from cesanta/mem
Make packed fs always available, and manually settable
This commit is contained in:
83 files changed
+289
-8052
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user