From ea3ad15b7684f1c6822b1739452b03c80c73df80 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 23 Jul 2024 16:25:22 +0200 Subject: [PATCH] fix tls in new inbound --- frontend/src/layouts/modals/Inbound.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/layouts/modals/Inbound.vue b/frontend/src/layouts/modals/Inbound.vue index 4060b4d..ea5fc04 100644 --- a/frontend/src/layouts/modals/Inbound.vue +++ b/frontend/src/layouts/modals/Inbound.vue @@ -169,10 +169,12 @@ export default { const prevConfig = { tag: tag ,listen: this.inbound.listen, listen_port: this.inbound.listen_port } this.inbound = createInbound(this.inbound.type, prevConfig) if (this.HasInData.includes(this.inbound.type)){ - this.inData = {id: 0, tag: this.inbound.tag, addrs: [], outJson: {}} + this.inData.outJson = {} + this.inData.tag = tag } else { this.inData = {id: -1} } + this.tls_id.value = 0 this.side = "s" }, add_addr() {