mirror of
https://github.com/alireza0/s-ui.git
synced 2026-09-01 01:19:09 +00:00
vless flow only in tls-tcp
This commit is contained in:
parent
037dbbd7a0
commit
4a3917ea5d
2 changed files with 2 additions and 2 deletions
|
|
@ -221,7 +221,7 @@ const buildInboundsUsers = (inboundTags:string[]) => {
|
|||
// Remove flow in non tls VLESS
|
||||
if (newInbound.type == InTypes.VLESS) {
|
||||
const vlessInbound = <VLESS>newInbound
|
||||
if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow)
|
||||
if (!vlessInbound.tls?.enabled || vlessInbound.transport?.type) delete(clientConfig["vless"].flow)
|
||||
}
|
||||
users.push(clientConfig[newInbound.type])
|
||||
})
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ const buildInboundsUsers = (inbound:InboundWithUser):Inbound => {
|
|||
// Remove flow in non tls VLESS
|
||||
if (inbound.type == InTypes.VLESS) {
|
||||
const vlessInbound = <VLESS>inbound
|
||||
if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow)
|
||||
if (!vlessInbound.tls?.enabled || vlessInbound.transport?.type) delete(clientConfig["vless"].flow)
|
||||
}
|
||||
users.push(clientConfig[inbound.type])
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue