MHSanaei 1 năm trước cách đây
mục cha
commit
149bd0ec51

+ 2 - 2
README.md

@@ -23,10 +23,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
 
 # Install custom version
 
-To install your desired version you can add the version to the end of install command. Example for ver `v1.7.6`:
+To install your desired version you can add the version to the end of install command. Example for ver `v1.7.7`:
 
 ```
-bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.7.6
+bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v1.7.7
 ```
 
 # SSL

+ 1 - 1
config/version

@@ -1 +1 @@
-1.7.6
+1.7.7

+ 1 - 1
sub/subService.go

@@ -804,7 +804,7 @@ func (s *SubService) genRemark(inbound *model.Inbound, email string, extra strin
 			}
 		}
 	}
-	return strings.Join(remark, "-")
+	return strings.Join(remark, " : ")
 }
 
 func searchKey(data interface{}, key string) (interface{}, bool) {

+ 0 - 3
web/assets/js/model/xray.js

@@ -1748,7 +1748,6 @@ Inbound.VmessSettings = class extends Inbound.Settings {
         vmesses=[new Inbound.VmessSettings.Vmess()]) {
         super(protocol);
         this.vmesses = vmesses;
-        this.disableInsecure = disableInsecureEncryption;
     }
 
     indexOfVmessById(id) {
@@ -1773,14 +1772,12 @@ Inbound.VmessSettings = class extends Inbound.Settings {
         return new Inbound.VmessSettings(
             Protocols.VMESS,
             json.clients.map(client => Inbound.VmessSettings.Vmess.fromJson(client)),
-            ObjectUtil.isEmpty(json.disableInsecureEncryption) ? false : json.disableInsecureEncryption,
         );
     }
 
     toJson() {
         return {
             clients: Inbound.VmessSettings.toJsonArray(this.vmesses),
-            disableInsecureEncryption: this.disableInsecure,
         };
     }
 };

+ 1 - 1
web/html/common/qrcode_modal.html

@@ -87,7 +87,7 @@
             },
             genSubLink(subID) {
                 const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
-                return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
+                return buildURL({ host, port, isTLS, base, path: subID+'?name='+remark });
             }
         },
         updated() {

+ 1 - 1
web/html/xui/inbound_info_modal.html

@@ -296,7 +296,7 @@
         },
         genSubLink(subID) {
             const { domain: host, port, tls: isTLS, path: base } = app.subSettings;
-            return buildURL({ host, port, isTLS, base, path: subID+'?name='+subID });
+            return buildURL({ host, port, isTLS, base, path: subID+'?name='+remark });
         }
     };