Skip to content

Commit

Permalink
Add index_file to .gotty`
Browse files Browse the repository at this point in the history
  • Loading branch information
yudai committed Aug 30, 2015
1 parent eb2f2d0 commit a4a3f1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .gotty
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
// tls_crt_file = "~/.gotty.crt"

// [string] Default TLS key file path
// tls_key_file = "~/.gotty.key"
// tls_key_file = "~/.gotty.key"

// [string] Custom index.html file
// index_file = ""

// [string] Title format of browser window
// Available variables are:
Expand All @@ -48,6 +51,8 @@
// [bool] Accept only one client and exit gotty once the client exits
// once = false



// [object] Client terminal (hterm) preferences
// Examples below are some of commonly used options.
// See hterm's documentation for the complete list of preferences.
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
flag{"tls", "t", "Enable TLS/SSL"},
flag{"tls-crt", "", "TLS/SSL crt file path"},
flag{"tls-key", "", "TLS/SSL key file path"},
flag{"index", "", "Custom index file"},
flag{"index", "", "Custom index.html file"},
flag{"title-format", "", "Title format of browser window"},
flag{"reconnect", "", "Enable reconnection"},
flag{"reconnect-time", "", "Time to reconnect"},
Expand Down

0 comments on commit a4a3f1a

Please sign in to comment.