refactor: move base_url to config env

This commit is contained in:
debugtalk
2022-05-24 22:23:02 +08:00
parent 717b08c81c
commit ae36c8fd9a
20 changed files with 55 additions and 29 deletions
+1 -2
View File
@@ -314,8 +314,7 @@ func parseEnvContent(file []byte, obj interface{}) error {
var kv []string
if strings.Contains(line, "=") {
kv = strings.SplitN(line, "=", 2)
}
if strings.Contains(line, ":") {
} else if strings.Contains(line, ":") {
kv = strings.SplitN(line, ":", 2)
}
if len(kv) != 2 {