mirror of
https://github.com/fatedier/frp.git
synced 2024-11-14 03:54:19 +01:00
frpc: reload proxy not saved after reconnecting
This commit is contained in:
parent
05ca72dbf0
commit
5a7ef3be74
@ -74,7 +74,7 @@ func (svr *Service) apiReload(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
err = svr.ctl.ReloadConf(pxyCfgs, visitorCfgs)
|
||||
err = svr.ReloadConf(pxyCfgs, visitorCfgs)
|
||||
if err != nil {
|
||||
res.Code = 4
|
||||
res.Msg = err.Error()
|
||||
|
Loading…
Reference in New Issue
Block a user