mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-01-11 08:12:46 +00:00
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. |
||
|---|---|---|
| .. | ||
| config.json | ||
| inbound.go | ||
| outbound.go | ||
| panel.go | ||
| server.go | ||
| setting.go | ||
| tgbot.go | ||
| user.go | ||
| warp.go | ||
| xray.go | ||
| xray_setting.go | ||