Skip to content

Commit 6804c63

Browse files
committed
fix: 修复 QX VLESS TLS
1 parent 9c5d6e9 commit 6804c63

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.19.47",
3+
"version": "2.19.48",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {

backend/src/core/proxy-utils/producers/qx.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ function vless(proxy) {
405405
else append(`,obfs=ws`);
406406
} else if (proxy.network === 'http') {
407407
append(`,obfs=http`);
408+
} else if (['tcp'].includes(proxy.network)) {
409+
if (proxy.tls) append(`,obfs=over-tls`);
408410
} else if (!['tcp'].includes(proxy.network)) {
409411
throw new Error(`network ${proxy.network} is unsupported`);
410412
}

0 commit comments

Comments
 (0)