[feature] multi cert per inbound

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
MHSanaei
2023-05-17 00:55:19 +03:30
parent 8ceeb454ee
commit 70e7987df5
3 changed files with 48 additions and 40 deletions

View File

@@ -482,8 +482,8 @@ class TlsStreamSettings extends XrayCommonClass {
this.settings = settings;
}
addCert(cert) {
this.certs.push(cert);
addCert() {
this.certs.push(new TlsStreamSettings.Cert());
}
removeCert(index) {
@@ -599,8 +599,8 @@ class XtlsStreamSettings extends XrayCommonClass {
this.settings = settings;
}
addCert(cert) {
this.certs.push(cert);
addCert() {
this.certs.push(new XtlsStreamSettings.Cert());
}
removeCert(index) {