[feature] multi cert per inbound #290

This commit is contained in:
Alireza Ahmadi
2023-05-15 21:26:08 +02:00
parent bcb90ac14a
commit 74595b2785
3 changed files with 65 additions and 61 deletions

View File

@@ -100,9 +100,9 @@
this.inModal.inbound.reality = false;
}
},
setDefaultCertData(){
inModal.inbound.stream.tls.certs[0].certFile = app.defaultCert;
inModal.inbound.stream.tls.certs[0].keyFile = app.defaultKey;
setDefaultCertData(index){
inModal.inbound.stream.tls.certs[index].certFile = app.defaultCert;
inModal.inbound.stream.tls.certs[index].keyFile = app.defaultKey;
},
async getNewX25519Cert(){
inModal.loading(true);