add clientStats to view

This commit is contained in:
Hossin Asaadi
2022-11-11 12:07:24 -05:00
parent 8deffb1b7c
commit 77d24fbede
5 changed files with 50 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ func (s *XrayService) GetXrayTraffic() ([]*xray.Traffic, error) {
if !s.IsXrayRunning() {
return nil, errors.New("xray is not running")
}
return p.GetTraffic(true)
return p.GetTraffic(false)
}
func (s *XrayService) GetXrayClientTraffic() ([]*xray.ClientTraffic, error) {
if !s.IsXrayRunning() {