mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
commit
f480160e2d
@ -218,6 +218,7 @@ func (cfg *BaseProxyConf) UnmarshalFromIni(prefix string, name string, section i
|
|||||||
cfg.HealthCheckUrl = s + cfg.HealthCheckUrl
|
cfg.HealthCheckUrl = s + cfg.HealthCheckUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cfg.Metas = make(map[string]string)
|
||||||
for k, v := range section {
|
for k, v := range section {
|
||||||
if strings.HasPrefix(k, "meta_") {
|
if strings.HasPrefix(k, "meta_") {
|
||||||
cfg.Metas[strings.TrimPrefix(k, "meta_")] = v
|
cfg.Metas[strings.TrimPrefix(k, "meta_")] = v
|
||||||
|
@ -19,7 +19,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version string = "0.31.0"
|
var version string = "0.31.1"
|
||||||
|
|
||||||
func Full() string {
|
func Full() string {
|
||||||
return version
|
return version
|
||||||
|
Loading…
Reference in New Issue
Block a user