Skip to content

Commit

Permalink
fix tls in new inbound
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Jul 23, 2024
1 parent 5cc3791 commit ea3ad15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/layouts/modals/Inbound.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <InData>{id: 0, tag: this.inbound.tag, addrs: [], outJson: {}}
this.inData.outJson = {}
this.inData.tag = tag
} else {
this.inData = <InData>{id: -1}
}
this.tls_id.value = 0
this.side = "s"
},
add_addr() {
Expand Down

0 comments on commit ea3ad15

Please sign in to comment.