Files
3x-ui/web/service
Zhenyu Qi c881d1015a fix: handle GitHub API error responses in GetXrayVersions (#3609)
GitHub API returns JSON object instead of array when encountering errors
(e.g., rate limit exceeded). This causes JSON unmarshal error:
'cannot unmarshal object into Go value of type []service.Release'

Add HTTP status code check to handle error responses gracefully and
return user-friendly error messages instead of JSON parsing errors.

Fixes issue where getXrayVersion fails with unmarshal error when
GitHub API rate limit is exceeded.
2026-01-02 16:12:13 +01:00
..
2025-10-21 13:02:55 +02:00
2025-09-20 09:35:50 +02:00
2025-12-03 14:58:54 +01:00
2025-10-21 13:02:55 +02:00
2025-09-20 09:35:50 +02:00
2025-09-20 09:35:50 +02:00