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:
Diffstat (limited to 'web/html/xray.html')
-rw-r--r--web/html/xray.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/html/xray.html b/web/html/xray.html
index 9f528e03..258c81c9 100644
--- a/web/html/xray.html
+++ b/web/html/xray.html
@@ -535,7 +535,9 @@
switch (o.protocol) {
case Protocols.VMess:
case Protocols.VLESS:
- serverObj = o.settings.vnext;
+ if (o.settings && o.settings.address && o.settings.port) {
+ return [o.settings.address + ':' + o.settings.port];
+ }
break;
case Protocols.HTTP:
case Protocols.Mixed: