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/form/outbound.html2
-rw-r--r--web/html/xray.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html
index d2149b6d..aa6aa323 100644
--- a/web/html/form/outbound.html
+++ b/web/html/form/outbound.html
@@ -210,7 +210,7 @@
</a-form-item>
</template>
- <!-- Vnext (vless/vmess) settings -->
+ <!-- VLESS/VMess user settings -->
<template v-if="[Protocols.VMess, Protocols.VLESS].includes(outbound.protocol)">
<a-form-item label='ID'>
<a-input v-model.trim="outbound.settings.id"></a-input>
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: