mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-03-21 10:05:49 +00:00
v1.7.7
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user