From 1885a8c0bf0cc58d2866d64b3a11d4bfa3a22e46 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 1 May 2023 20:58:00 +0330 Subject: fixed - set Default Cert for Xtls --- web/html/xui/inbound_modal.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/html/xui/inbound_modal.html') 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'); -- cgit v1.2.3