3x-ui/frontend/src/pages
MHSanaei 6ee462ac8e
fix(links): use configured domain for panel copy/QR links on loopback
The panel's copy/QR share links are built client-side and fell back to window.location.hostname, so reaching the panel over an SSH tunnel (127.0.0.1/localhost) leaked localhost into the links - unlike the backend subscription path, which falls back to the configured Sub/Web Domain (issue #4829).

Expose webDomain/subDomain via /defaultSettings and add preferPublicHost: when the browser host is loopback, prefer the configured Sub Domain (then Web Domain) for share/QR links. An explicit node override or per-inbound listen still wins; a routable browser host is kept as-is.

Closes #4829
2026-06-02 22:52:44 +02:00
..
api-docs fix(online): scope online status per node instead of a global union 2026-06-02 18:33:21 +02:00
clients feat(clients): show filtered count in clients list 2026-06-02 14:23:52 +02:00
groups fix(ui): exit infinite spinner with a retry card on failed initial load 2026-06-01 07:43:32 +02:00
inbounds fix(links): use configured domain for panel copy/QR links on loopback 2026-06-02 22:52:44 +02:00
index fix(ui): exit infinite spinner with a retry card on failed initial load 2026-06-01 07:43:32 +02:00
login feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
nodes fix(node): fix "invalid input" on save and gate save on connectivity 2026-06-02 13:57:02 +02:00
settings fix(settings): allow pagination size of 0 to disable pagination 2026-06-02 14:54:11 +02:00
sub fix(qr): hide QR for post-quantum links on client QR page 2026-05-29 17:04:30 +02:00
xray feat(clients,routing): label inbounds by remark with tag fallback 2026-06-02 14:14:25 +02:00