feat: Shadowrocket VMess ws 传输层增加默认 path

This commit is contained in:
xream
2025-04-03 22:33:31 +08:00
parent 06acaa905a
commit e4e0c7e69c
2 changed files with 6 additions and 1 deletions

View File

@@ -492,6 +492,11 @@ function URI_VMess() {
} catch (e) {}
let transportPath = params.path;
// 补上默认 path
if (['ws'].includes(proxy.network)) {
transportPath = transportPath || '/';
}
if (proxy.network === 'http') {
if (transportHost) {
// 1)http(tcp)->host中间逗号(,)隔开