diff --git a/models/config/proxy.go b/models/config/proxy.go index 1efaf38..f4ddba5 100644 --- a/models/config/proxy.go +++ b/models/config/proxy.go @@ -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 diff --git a/utils/version/version.go b/utils/version/version.go index 27eb88a..dac3974 100644 --- a/utils/version/version.go +++ b/utils/version/version.go @@ -19,7 +19,7 @@ import ( "strings" ) -var version string = "0.31.0" +var version string = "0.31.1" func Full() string { return version