diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-01 20:28:00 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-01 20:28:00 +0300 |
| commit | 1885a8c0bf0cc58d2866d64b3a11d4bfa3a22e46 (patch) | |
| tree | c4b391fa4bc4ac6aa051c421b88ac3b2a14e1aaa /web/html/xui/inbound_modal.html | |
| parent | 4ce53920fe4e12777c6c89993e2696bb670751e5 (diff) | |
fixed - set Default Cert for Xtls
Diffstat (limited to 'web/html/xui/inbound_modal.html')
| -rw-r--r-- | web/html/xui/inbound_modal.html | 4 |
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'); |
