mirror of
https://github.com/fatedier/frp.git
synced 2025-02-02 07:54:23 +00:00
fix
This commit is contained in:
parent
6a95a63fd4
commit
58d0d41501
@ -115,7 +115,11 @@ func (cfg *BaseProxyConf) LoadFromFile(name string, section ini.Section) error {
|
|||||||
tmpStr string
|
tmpStr string
|
||||||
ok bool
|
ok bool
|
||||||
)
|
)
|
||||||
cfg.ProxyName = ClientCommonCfg.User + "." + name
|
if ClientCommonCfg.User != "" {
|
||||||
|
cfg.ProxyName = ClientCommonCfg.User + "." + name
|
||||||
|
} else {
|
||||||
|
cfg.ProxyName = name
|
||||||
|
}
|
||||||
cfg.ProxyType = section["type"]
|
cfg.ProxyType = section["type"]
|
||||||
|
|
||||||
tmpStr, ok = section["use_encryption"]
|
tmpStr, ok = section["use_encryption"]
|
||||||
|
Loading…
Reference in New Issue
Block a user