Browse Source

frpc: reload proxy not saved after reconnecting

fatedier 6 years ago
parent
commit
5a7ef3be74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/admin_api.go

+ 1 - 1
client/admin_api.go

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