Skip to content

Commit 4def70a

Browse files
committed
Xray core buggy version removed
1 parent e0e9e26 commit 4def70a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/service/server.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ func (s *ServerService) GetXrayVersions() ([]string, error) {
285285
continue
286286
}
287287

288-
if (major == 1 && minor == 8 && patch == 24) ||
289-
(major >= 25) {
288+
if (major >= 25 && minor >= 2 && patch >= 18) || (major >= 26) {
290289
versions = append(versions, release.TagName)
291290
}
292291
}

0 commit comments

Comments
 (0)