diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-20 12:11:30 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-20 14:10:57 +0300 |
| commit | 37c17357fc45b9acec387f3097be5db074ce880d (patch) | |
| tree | a3a5aa82c7483c0883070185372c491537173c25 /web/html/xray.html | |
| parent | b35d33966589f428053b77f51a92ec0214bd92fb (diff) | |
undo vnext for vmess
Diffstat (limited to 'web/html/xray.html')
| -rw-r--r-- | web/html/xray.html | 8 |
1 files changed, 3 insertions, 5 deletions
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; |
