mirror of
https://github.com/yudai/gotty.git
synced 2026-03-01 03:10:17 +01:00
Set default listen address to localhost
This commit is contained in:
parent
d801d9ec51
commit
c31aadbf00
2 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ import (
|
|||
)
|
||||
|
||||
type Options struct {
|
||||
Address string `hcl:"address" flagName:"address" flagSName:"a" flagDescribe:"IP address to listen" default:"0.0.0.0"`
|
||||
Address string `hcl:"address" flagName:"address" flagSName:"a" flagDescribe:"IP address to listen" default:"localhost"`
|
||||
Port string `hcl:"port" flagName:"port" flagSName:"p" flagDescribe:"Port number to liten" default:"8080"`
|
||||
PermitWrite bool `hcl:"permit_write" flagName:"permit-write" flagSName:"w" flagDescribe:"Permit clients to write to the TTY (BE CAREFUL)" default:"false"`
|
||||
EnableBasicAuth bool `hcl:"enable_basic_auth" default:"false"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue