mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-13 14:50:59 +00:00
feat(inbounds): restore "Set Cert from Panel" / Clear buttons in TLS certs
Bring back the per-certificate buttons in the inbound TLS section (File Path mode): "Set Cert from Panel" fetches the panel's own webCertFile/webKeyFile via /panel/setting/all and fills the cert's certificateFile/keyFile, warning when no panel cert is configured; "Clear" empties both paths. Reuses the existing pages.inbounds.setDefaultCert label and adds a setDefaultCertEmpty warning string.
This commit is contained in:
@@ -355,6 +355,7 @@
|
||||
"IPLimitlogDesc": "The IP history log. (to re-enable the inbound after disabling, clear the log)",
|
||||
"IPLimitlogclear": "Clear the Log",
|
||||
"setDefaultCert": "Set Cert from Panel",
|
||||
"setDefaultCertEmpty": "No certificate is configured for the panel. Set one under Settings first.",
|
||||
"streamTab": "Stream",
|
||||
"securityTab": "Security",
|
||||
"sniffingTab": "Sniffing",
|
||||
|
||||
Reference in New Issue
Block a user