feat: produceArtifact 方法支持传入自定义 subscription; VLESS 非 reality 删除空 flow

This commit is contained in:
xream
2024-03-10 17:22:01 +08:00
parent aaef97cf5d
commit 078bf228de
4 changed files with 17 additions and 4 deletions

View File

@@ -444,6 +444,7 @@ function URI_VLESS() {
proxy[`${params.security}-opts`] = opts;
}
}
proxy.network = params.type;
if (proxy.network === 'tcp' && params.headerType === 'http') {
proxy.network = 'http';