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
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/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;