Skip to content

Commit f8ed6a3

Browse files
committed
fix: QX tls
1 parent 99b19c4 commit f8ed6a3

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎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.14.15",
3+
"version": "2.14.16",
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: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,5 @@ function socks5(proxy) {
334334
}
335335

336336
function needTls(proxy) {
337-
return (
338-
proxy.tls ||
339-
proxy.sni ||
340-
typeof proxy['skip-cert-verify'] !== 'undefined' ||
341-
typeof proxy['tls-fingerprint'] !== 'undefined' ||
342-
typeof proxy['tls-host'] !== 'undefined'
343-
);
337+
return proxy.tls;
344338
}

0 commit comments

Comments
 (0)