3x-ui/internal/web/controller
Isuru Sampath 31c1eed5dc
fix dead code, typo, and minor bugs in main.go, process.go and index.go (#6167)
Fixes several small issues found during code review:
- fix(xray): return explicit nil instead of stale err in getLogPath
- fix(xray): remove duplicate doc comment on GetErrorLogPath
- refactor: remove unreachable return after log.Fatalf (×4)
- fix(cli): add missing newline to listen IP success message
- fix(cli): typo "form" → "from" in migrate help text
- refactor: simplify var+assign to short declaration for server/subServer
- fix(controller): return error from getTwoFactorEnable instead of swallowing it
2026-07-31 18:27:46 +02:00
..
api.go
api_auth_test.go
base.go
client.go
dist.go
dist_test.go
group.go
host.go
host_test.go
inbound.go
index.go fix dead code, typo, and minor bugs in main.go, process.go and index.go (#6167) 2026-07-31 18:27:46 +02:00
login_limiter.go
login_limiter_test.go
node.go
node_credentials_writeonly_test.go
panel_update_test.go
server.go
setting.go
setting_test.go
spa.go
spa_test.go
util.go fix(sub): honor trustedProxyCIDRs before forwarded URLs (#6135) 2026-07-29 21:01:59 +02:00
util_test.go
websocket.go
xray_setting.go