From 37c17357fc45b9acec387f3097be5db074ce880d Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Sat, 20 Sep 2025 11:11:30 +0200 Subject: undo vnext for vmess --- web/html/xray.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'web/html/xray.html') diff --git a/web/html/xray.html b/web/html/xray.html index 258c81c9..266f9eef 100644 --- a/web/html/xray.html +++ b/web/html/xray.html @@ -534,13 +534,11 @@ serverObj = null; switch (o.protocol) { case Protocols.VMess: - case Protocols.VLESS: - if (o.settings && o.settings.address && o.settings.port) { - return [o.settings.address + ':' + o.settings.port]; - } + serverObj = o.settings.vnext; break; + case Protocols.VLESS: case Protocols.HTTP: - case Protocols.Mixed: + case Protocols.Socks: case Protocols.Shadowsocks: case Protocols.Trojan: serverObj = o.settings.servers; -- cgit v1.2.3