Skip to content

Commit

Permalink
v1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Aug 26, 2023
1 parent f3280b4 commit ff8c4b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.6
1.7.7
2 changes: 1 addition & 1 deletion sub/subService.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 0 additions & 3 deletions web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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,
};
}
};
Expand Down

0 comments on commit ff8c4b4

Please sign in to comment.