Merge pull request #1067 from fatedier/fix

frpc: reload proxy not saved after reconnecting
This commit is contained in:
fatedier 2019-01-30 11:22:41 +08:00 committed by GitHub
commit 8c8fd9790e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()