mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-04 11:13:59 +08:00
feat: Shadowrocket VMess ws 传输层增加默认 path
This commit is contained in:
parent
7213cea16c
commit
e054b71a62
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.19.16",
|
"version": "2.19.17",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -492,6 +492,11 @@ function URI_VMess() {
|
|||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
let transportPath = params.path;
|
let transportPath = params.path;
|
||||||
|
|
||||||
|
// 补上默认 path
|
||||||
|
if (['ws'].includes(proxy.network)) {
|
||||||
|
transportPath = transportPath || '/';
|
||||||
|
}
|
||||||
|
|
||||||
if (proxy.network === 'http') {
|
if (proxy.network === 'http') {
|
||||||
if (transportHost) {
|
if (transportHost) {
|
||||||
// 1)http(tcp)->host中间逗号(,)隔开
|
// 1)http(tcp)->host中间逗号(,)隔开
|
||||||
|
Loading…
x
Reference in New Issue
Block a user