mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
Merge pull request #1067 from fatedier/fix
frpc: reload proxy not saved after reconnecting
This commit is contained in:
commit
8c8fd9790e
@ -74,7 +74,7 @@ func (svr *Service) apiReload(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
err = svr.ctl.ReloadConf(pxyCfgs, visitorCfgs)
|
err = svr.ReloadConf(pxyCfgs, visitorCfgs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
res.Code = 4
|
res.Code = 4
|
||||||
res.Msg = err.Error()
|
res.Msg = err.Error()
|
||||||
|
Loading…
Reference in New Issue
Block a user