Add support for the --index option

This commit is contained in:
Shuanglei Tao
2017-01-19 23:33:35 +08:00
parent 22e8b11033
commit c9ffa8a8d7
5 changed files with 68 additions and 28 deletions

View File

@@ -70,6 +70,7 @@ struct tty_server {
char *prefs_json; // client preferences
char *credential; // encoded basic auth credential
int reconnect; // reconnect timeout
char *index; // custom index.html
char *command; // full command line
char **argv; // command with arguments
int sig_code; // close signal