Skip to content

Commit 0d1128c

Browse files
committed
feat: add flow property to VLessSettings in XRayConfig
1 parent df89bf0 commit 0d1128c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helpers/xray-config/xray-config.validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ export class XRayConfig {
328328
break;
329329
case 'vless':
330330
(inbound.settings as VLessSettings).clients = [];
331+
(inbound.settings as VLessSettings).flow = getVlessFlow(inbound) || '';
331332
break;
332333
case 'shadowsocks':
333334
(inbound.settings as ShadowsocksSettings).clients = [];
@@ -356,7 +357,6 @@ export class XRayConfig {
356357
(inbound.settings as VLessSettings).clients.push({
357358
id: user.vlessUuid,
358359
email: user.tId.toString(),
359-
flow: getVlessFlow(inbound),
360360
});
361361
}
362362
break;

0 commit comments

Comments
 (0)