Browse Source

fix mistake

mhsanaei 3 tháng trước cách đây
mục cha
commit
ea19fb8ff6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/service/server.go

+ 1 - 1
web/service/server.go

@@ -285,7 +285,7 @@ func (s *ServerService) GetXrayVersions() ([]string, error) {
 			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)
 		}
 	}