fixed - set Default Cert for Xtls

This commit is contained in:
MHSanaei
2023-05-01 20:58:00 +03:30
parent 4ce53920fe
commit 1885a8c0bf
7 changed files with 85 additions and 88 deletions

View File

@@ -103,6 +103,10 @@
inModal.inbound.stream.tls.certs[0].certFile = app.defaultCert;
inModal.inbound.stream.tls.certs[0].keyFile = app.defaultKey;
},
setDefaultCertXtls(){
inModal.inbound.stream.xtls.certs[0].certFile = app.defaultCert;
inModal.inbound.stream.xtls.certs[0].keyFile = app.defaultKey;
},
async getNewX25519Cert(){
inModal.loading(true);
const msg = await HttpUtil.post('/server/getNewX25519Cert');