Merge pull request #1596 from fatedier/dev

v0.31.1, fix bugs
This commit is contained in:
fatedier 2020-01-06 15:55:44 +08:00 committed by GitHub
commit f480160e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -218,6 +218,7 @@ func (cfg *BaseProxyConf) UnmarshalFromIni(prefix string, name string, section i
cfg.HealthCheckUrl = s + cfg.HealthCheckUrl
}
cfg.Metas = make(map[string]string)
for k, v := range section {
if strings.HasPrefix(k, "meta_") {
cfg.Metas[strings.TrimPrefix(k, "meta_")] = v

View File

@ -19,7 +19,7 @@ import (
"strings"
)
var version string = "0.31.0"
var version string = "0.31.1"
func Full() string {
return version