Show served dir in the start message

This commit is contained in:
cpq committed 2021-02-01 00:02:33 +00:00
1 parent 582fde5c6e
commit 7eb998891e
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ int main(int argc, char *argv[]) {
if (mg_casecmp(s_enable_hexdump, "yes") == 0) c->is_hexdumping = 1;
// Start infinite event loop
LOG(LL_INFO, ("Starting Mongoose web server v%s", MG_VERSION));
LOG(LL_INFO, ("Starting Mongoose v%s, serving [%s]", MG_VERSION, s_root_dir));
for (;;) mg_mgr_poll(&mgr, 1000);
mg_mgr_free(&mgr);
return 0;