diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index f10522d..f20ce9e 100644 --- a/config/config.go +++ b/config/config.go @@ -10,6 +10,7 @@ type config struct { Hostnames []string `json:"hosts"` Port int `json:"port"` AllowHidden bool `json:"allow-hidden"` + HideHidden bool `json:"hide-hidden"` Auth bool `json:"auth"` RootPath string `json:"root-path"` Cache bool `json:"cache"` @@ -40,6 +41,7 @@ func SetDefaultValue() { Config.Hostnames = []string{"localhost"} Config.Port = 0 Config.AllowHidden = false + Config.HideHidden = true Config.Auth = false Config.RootPath = "." } |