Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-01 20:28:00 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-01 20:28:00 +0300
commit1885a8c0bf0cc58d2866d64b3a11d4bfa3a22e46 (patch)
treec4b391fa4bc4ac6aa051c421b88ac3b2a14e1aaa /web/html/xui/inbound_modal.html
parent4ce53920fe4e12777c6c89993e2696bb670751e5 (diff)
fixed - set Default Cert for Xtls
Diffstat (limited to 'web/html/xui/inbound_modal.html')
-rw-r--r--web/html/xui/inbound_modal.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 98cb188f..966de8dd 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -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');