mirror of
https://git-proxy.hk.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-04-10 08:20:24 +08:00
feat: Shadowrocket VMess ws 传输层增加默认 path
This commit is contained in:
parent
7213cea16c
commit
e054b71a62
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.19.16",
|
||||
"version": "2.19.17",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
@ -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中间逗号(,)隔开
|
||||
|
Loading…
x
Reference in New Issue
Block a user