mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-16 02:37:19 +08:00
fix: 修复 Loon Trojan WS 传输层
This commit is contained in:
parent
76b5dc5809
commit
5e21a20e37
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.120",
|
"version": "2.14.121",
|
||||||
"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": {
|
||||||
|
@ -99,7 +99,7 @@ function trojan(proxy) {
|
|||||||
if (proxy.network === 'ws') {
|
if (proxy.network === 'ws') {
|
||||||
result.append(`,transport=ws`);
|
result.append(`,transport=ws`);
|
||||||
result.appendIfPresent(
|
result.appendIfPresent(
|
||||||
`,path=${proxy['ws-opts'].path}`,
|
`,path=${proxy['ws-opts']?.path}`,
|
||||||
'ws-opts.path',
|
'ws-opts.path',
|
||||||
);
|
);
|
||||||
result.appendIfPresent(
|
result.appendIfPresent(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user