mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 04:34:40 +03:00
fix mistake
This commit is contained in:
@@ -285,7 +285,7 @@ func (s *ServerService) GetXrayVersions() ([]string, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (major >= 25 && minor >= 2 && patch >= 18) || (major >= 26) {
|
if major > 25 || (major == 25 && minor > 2) || (major == 25 && minor == 2 && patch >= 18) {
|
||||||
versions = append(versions, release.TagName)
|
versions = append(versions, release.TagName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user