mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-23 11:26:52 +00:00
fix comments
This commit is contained in:
parent
91a6c02f2d
commit
1133d56d9c
1 changed files with 2 additions and 2 deletions
|
@ -511,12 +511,12 @@ func (s *ServerService) GetXrayLogs(
|
||||||
line := strings.TrimSpace(scanner.Text())
|
line := strings.TrimSpace(scanner.Text())
|
||||||
|
|
||||||
if line == "" || strings.Contains(line, "api -> api") {
|
if line == "" || strings.Contains(line, "api -> api") {
|
||||||
//skipping api calls
|
//skipping api calls and empty lines
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if filter != "" && !strings.Contains(line, filter) {
|
if filter != "" && !strings.Contains(line, filter) {
|
||||||
//skipping empty lines
|
//applying filter is it's not empty
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue