mirror of
https://github.com/fatedier/frp.git
synced 2025-07-09 23:41:50 +07:00
fix api
This commit is contained in:
@ -318,6 +318,6 @@ func (svr *Service) ApiProxyTraffic(w http.ResponseWriter, r *http.Request) {
|
||||
trafficResp.TrafficOut = proxyTrafficInfo.TrafficOut
|
||||
}
|
||||
|
||||
buf, _ := json.Marshal(&res)
|
||||
buf, _ := json.Marshal(&trafficResp)
|
||||
res.Msg = string(buf)
|
||||
}
|
||||
|
Reference in New Issue
Block a user