fix vless inbound flow
This commit is contained in:
@@ -236,7 +236,7 @@ const buildInboundsUsers = (inbound:InboundWithUser):Inbound => {
|
|||||||
// Remove flow in non tls VLESS
|
// Remove flow in non tls VLESS
|
||||||
if (inbound.type == InTypes.VLESS) {
|
if (inbound.type == InTypes.VLESS) {
|
||||||
const vlessInbound = <VLESS>inbound
|
const vlessInbound = <VLESS>inbound
|
||||||
if (!vlessInbound.tls?.enabled) clientConfig["vless"].flow = undefined
|
if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow)
|
||||||
}
|
}
|
||||||
users.push(clientConfig[inbound.type])
|
users.push(clientConfig[inbound.type])
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user