diff options
Diffstat (limited to 'web/html/xray.html')
| -rw-r--r-- | web/html/xray.html | 4 |
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: |
