3x-ui/web/controller
Test User d333fbd9c5
Fix silently ignored error when saving outbound test URL setting
In the Xray settings update handler, the error from
SetXrayOutboundTestUrl was silently discarded. If the database write
failed, the user received a success toast ("Settings updated
successfully") but the outbound test URL was not actually saved.

Now properly checks the error and returns a failure response to the
user, consistent with how the preceding SaveXraySetting call is
handled.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 18:35:09 +08:00
..
api.go v3 2026-05-10 02:13:42 +02:00
base.go v3 2026-05-10 02:13:42 +02:00
custom_geo.go v3 2026-05-10 02:13:42 +02:00
dist.go v3 2026-05-10 02:13:42 +02:00
inbound.go v3 2026-05-10 02:13:42 +02:00
index.go v3 2026-05-10 02:13:42 +02:00
login_limiter.go Implement CSRF protection and security hardening across the application (#4179) 2026-05-07 23:36:11 +02:00
login_limiter_test.go refactor(websocket): split controller into service + thin controller 2026-05-08 00:00:44 +02:00
node.go v3 2026-05-10 02:13:42 +02:00
server.go v3 2026-05-10 02:13:42 +02:00
setting.go v3 2026-05-10 02:13:42 +02:00
util.go v3 2026-05-10 02:13:42 +02:00
websocket.go v3 2026-05-10 02:13:42 +02:00
xray_setting.go Fix silently ignored error when saving outbound test URL setting 2026-05-10 18:35:09 +08:00
xui.go v3 2026-05-10 02:13:42 +02:00