mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Make packed fs always available, and manually settable
This commit is contained in:
1 parent
1bb85799ce
commit
4f3d6d064c
83 files changed
+289
-8052
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user