diff --git a/api/config_file.go b/api/config_file.go index 5e4c013..d5c6ea9 100644 --- a/api/config_file.go +++ b/api/config_file.go @@ -16,7 +16,7 @@ func configFileLoad(filepath string) error { scanner := bufio.NewScanner(file) for scanner.Scan() { - line := scanner.Text() + line := strings.TrimSpace(scanner.Text()) i := strings.Index(line, "=") if i == -1 {