Browse Source

bug fix - vmess tls

mhsanaei 2 months ago
parent
commit
cf879f9527
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/assets/js/model/inbound.js

+ 1 - 1
web/assets/js/model/inbound.js

@@ -1278,7 +1278,7 @@ class Inbound extends XrayCommonClass {
             obj.mode = xhttp.mode;
         }
 
-        if (security === 'tls') {
+        if (tls === 'tls') {
             if (!ObjectUtil.isEmpty(this.stream.tls.sni)) {
                 obj.sni = this.stream.tls.sni;
             }