mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Add enable_dirlist to mg_http_serve_opts
This commit is contained in:
1 parent
824e33ef8a
commit
8fc94e12af
7 files changed
+41
-13
No files matched your search
+4
-3
@@ -23,9 +23,10 @@ struct mg_http_message {
|
||||
|
||||
// Parameter for mg_http_serve_dir()
|
||||
struct mg_http_serve_opts {
|
||||
const char *root_dir; // Web root directory, must be non-NULL
|
||||
const char *ssi_pattern; // SSI file name pattern, e.g. #.shtml
|
||||
const char *extra_headers; // Extra HTTP headers to add in responses
|
||||
const char *root_dir; // Web root directory, must be non-NULL
|
||||
const char *ssi_pattern; // SSI file name pattern, e.g. #.shtml
|
||||
const char *extra_headers; // Extra HTTP headers to add in responses
|
||||
const char *enable_dirlist; // Enable dir listing. Set to "no" to disable
|
||||
};
|
||||
|
||||
// Parameter for mg_http_next_multipart
|
||||
|
||||
Reference in new issue
Block a user