fix vless inbound flow

This commit is contained in:
Alireza Ahmadi
2024-02-27 11:34:18 +01:00
parent 19a6053098
commit 204e0d30e1
+1 -1
View File
@@ -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) clientConfig["vless"].flow = undefined
if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow)
}
users.push(clientConfig[inbound.type])
})