Skip to content

Commit a74a938

Browse files
committed
feat: 修改 sni off 的转换逻辑
1 parent e0b0062 commit a74a938

2 files changed

Lines changed: 4 additions & 4 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.24.5",
3+
"version": "2.24.6",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"packageManager": "pnpm@11.0.9",

backend/src/core/proxy-utils/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,11 @@ function produce(proxies, targetPlatform, type, opts = {}) {
509509
proxy.sni = 'off';
510510
} else if (!['tuic'].includes(proxy.type)) {
511511
$.error(
512-
`Target platform ${targetPlatform} does not support sni off. Proxy's fields (sni, tls-fingerprint and skip-cert-verify) will be modified.`,
512+
`Target platform ${targetPlatform} does not support sni off, proxy ${proxy.name} sni will be set to empty string instead.`,
513513
);
514514
proxy.sni = '';
515-
proxy['skip-cert-verify'] = true;
516-
delete proxy['tls-fingerprint'];
515+
// proxy['skip-cert-verify'] = true;
516+
// delete proxy['tls-fingerprint'];
517517
}
518518
}
519519

0 commit comments

Comments
 (0)