Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-20 12:11:30 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-20 14:10:57 +0300
commit37c17357fc45b9acec387f3097be5db074ce880d (patch)
treea3a5aa82c7483c0883070185372c491537173c25 /web/html/xray.html
parentb35d33966589f428053b77f51a92ec0214bd92fb (diff)
undo vnext for vmess
Diffstat (limited to 'web/html/xray.html')
-rw-r--r--web/html/xray.html8
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;