docs: new website

This commit is contained in:
Vikram Rangnekar
2020-05-17 03:11:56 -04:00
parent a1a47c905d
commit f6ce0c102b
31 changed files with 13232 additions and 9 deletions

View File

@ -23,7 +23,7 @@ func ReadInConfig(configFile string) (*Config, error) {
inherits := vi.GetString("inherits")
if len(inherits) != 0 {
if inherits != "" {
vi = newViper(cpath, inherits)
if err := vi.ReadInConfig(); err != nil {

View File

@ -92,7 +92,7 @@ func initConf() (*Config, error) {
c.AuthFailBlock = false
}
if len(c.AllowListFile) == 0 {
if c.AllowListFile == "" {
c.AllowListFile = c.relPath("./allow.list")
}