From 88ee415dd12d6d250a2140f78d1fe1649d9b64a8 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 24 May 2022 19:19:42 +0100 Subject: [PATCH] docs --- docs/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/README.md b/docs/README.md index 7e26229d..ba04b75b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -3564,6 +3564,7 @@ $ cc mongoose.c app.c packed_fs.c -DMG_ENABLE_PACKED_FS=1 ```c struct mg_http_serve_opts opts = {}; // Initialise empty options opts.fs = &mg_fs_packed; // Use packed filesystem +opts.root_dir = "/"; // Set root directory mg_http_serve_dir(c, hm, &opts); // Serve directory ```