diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-16 14:41:05 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-16 14:41:05 +0300 |
| commit | 1de7accd7cfea4aa834fbcf80ff05e0f072971b4 (patch) | |
| tree | cbf359d4737c2dd8ad06d05f60ad295597cc7be4 /web/html | |
| parent | 76afff2a6f5bcc2fad72955f15a216d0eebacacd (diff) | |
vnext removed
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/form/outbound.html | 2 | ||||
| -rw-r--r-- | web/html/xray.html | 4 |
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: |
