mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-10-26 21:31:05 +08:00
fix: 修复 QX VLESS TLS
This commit is contained in:
parent
9c5d6e9a10
commit
6804c6368a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.19.47",
|
"version": "2.19.48",
|
||||||
"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": {
|
||||||
|
|||||||
@ -405,6 +405,8 @@ function vless(proxy) {
|
|||||||
else append(`,obfs=ws`);
|
else append(`,obfs=ws`);
|
||||||
} else if (proxy.network === 'http') {
|
} else if (proxy.network === 'http') {
|
||||||
append(`,obfs=http`);
|
append(`,obfs=http`);
|
||||||
|
} else if (['tcp'].includes(proxy.network)) {
|
||||||
|
if (proxy.tls) append(`,obfs=over-tls`);
|
||||||
} else if (!['tcp'].includes(proxy.network)) {
|
} else if (!['tcp'].includes(proxy.network)) {
|
||||||
throw new Error(`network ${proxy.network} is unsupported`);
|
throw new Error(`network ${proxy.network} is unsupported`);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user