From 204e0d30e194dfffd06f1f4e053240d48cf1a74b Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 27 Feb 2024 11:34:18 +0100 Subject: [PATCH] fix vless inbound flow --- frontend/src/views/Inbounds.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Inbounds.vue b/frontend/src/views/Inbounds.vue index 1b89c7d..5301cb0 100644 --- a/frontend/src/views/Inbounds.vue +++ b/frontend/src/views/Inbounds.vue @@ -236,7 +236,7 @@ const buildInboundsUsers = (inbound:InboundWithUser):Inbound => { // Remove flow in non tls VLESS if (inbound.type == InTypes.VLESS) { const vlessInbound = inbound - if (!vlessInbound.tls?.enabled) clientConfig["vless"].flow = undefined + if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow) } users.push(clientConfig[inbound.type]) })