Re-enable config files
This commit is contained in:
@@ -30,7 +30,11 @@ func Refresh() error {
|
||||
}
|
||||
|
||||
func parseArgs() (*args.ArgSet, error) {
|
||||
as := args.NewArgSet()
|
||||
configFiles := []string{}
|
||||
if v, ok := os.LookupEnv("CONFIG"); ok {
|
||||
configFiles = strings.Split(v, ",")
|
||||
}
|
||||
as := args.NewArgSet(configFiles...)
|
||||
|
||||
as.Append(args.STRING, "user", "username for basic auth", "")
|
||||
as.Append(args.STRING, "pass", "password for basic auth", "")
|
||||
|
||||
Reference in New Issue
Block a user