diff options
Diffstat (limited to 'web/html/xui/inbound_modal.html')
| -rw-r--r-- | web/html/xui/inbound_modal.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html index 73ed6234..25e19473 100644 --- a/web/html/xui/inbound_modal.html +++ b/web/html/xui/inbound_modal.html @@ -90,6 +90,18 @@ set delayedExpireDays(days) { this.client.expiryTime = -86400000 * days; }, + get multiDomain() { + return this.inbound.stream.tls.settings.domains.length > 0; + }, + set multiDomain(value) { + if (value) { + inModal.inbound.stream.tls.server = ""; + inModal.inbound.stream.tls.settings.domains = [{remark: "", domain: window.location.host.split(":")[0]}]; + } else { + inModal.inbound.stream.tls.server = ""; + inModal.inbound.stream.tls.settings.domains = []; + } + } }, methods: { streamNetworkChange() { |
