3x-ui/web
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
..
assets chore: use Intl for date formatting (#3588) 2025-12-03 23:37:27 +01:00
controller minor changes 2025-09-24 11:47:14 +02:00
entity gofmt 2025-10-21 13:02:55 +02:00
global docs: add comments for all functions 2025-09-20 09:35:50 +02:00
html fix: display of outbound traffic (#3604) 2025-12-23 15:43:25 +01:00
job fix: handle CPU threshold error to prevent false notifications (#3603) 2025-12-12 14:29:27 +01:00
locale docs: add comments for all functions 2025-09-20 09:35:50 +02:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service fix: handle GitHub API error responses in GetXrayVersions (#3609) 2026-01-02 16:12:13 +01:00
session docs: add comments for all functions 2025-09-20 09:35:50 +02:00
translation Add "Last Online" printing for Telegram bot (#3593) 2025-12-03 14:43:37 +01:00
web.go DevTools 2025-10-02 01:47:12 +02:00