feat: VLESS 兼容 Shadowrocket 传输层 none

This commit is contained in:
xream
2025-03-25 23:35:23 +08:00
parent 2fbc589a8a
commit 543641de9d
2 changed files with 4 additions and 1 deletions

View File

@@ -634,6 +634,9 @@ function URI_VLESS() {
}
if (!proxy.network && isShadowrocket && params.obfs) {
proxy.network = params.obfs;
if (['none'].includes(proxy.network)) {
proxy.network = 'tcp';
}
}
if (['websocket'].includes(proxy.network)) {
proxy.network = 'ws';