Xray core buggy version removed

accept >= v24.11.11 or v1.8.24
This commit is contained in:
mhsanaei 2024-11-12 12:11:27 +03:30
parent a4cf77422f
commit 6e59aa14b0
No known key found for this signature in database
GPG Key ID: D875CD086CF668A0

View File

@ -286,7 +286,7 @@ func (s *ServerService) GetXrayVersions() ([]string, error) {
}
if (major == 1 && minor == 8 && patch == 24) ||
(major == 24 && ((minor > 10) || (minor == 10 && patch >= 16))) ||
(major == 24 && ((minor > 11) || (minor == 11 && patch >= 11))) ||
(major > 24) {
versions = append(versions, release.TagName)
}