fixed - set Default Cert for Xtls

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

No files matched your search

+4
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');