Skip to content

Commit

Permalink
server: print working directory on start
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Jun 19, 2023
1 parent 202fad0 commit eb52df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ static void print_config() {
if (server->max_clients > 0) lwsl_notice(" max clients: %d\n", server->max_clients);
if (server->once) lwsl_notice(" once: true\n");
if (server->index != NULL) lwsl_notice(" custom index.html: %s\n", server->index);
if (server->cwd != NULL) lwsl_notice(" working directory: %s\n", server->cwd);
if (!server->writable) lwsl_notice("The --writable option is not set, will start in readonly mode");
}

Expand Down

0 comments on commit eb52df7

Please sign in to comment.