feat: TUIC URI 输入兼容不规范的 insecure 参数

This commit is contained in:
xream committed 2025-08-21 23:40:44 +08:00
1 parent 4f19131fec
commit f8213a1ca0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.20.9",
"version": "2.20.10",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
"main": "src/main.js",
"scripts": {
@@ -998,7 +998,7 @@ function URI_TUIC() {
value = decodeURIComponent(value);
if (['alpn'].includes(key)) {
proxy[key] = value ? value.split(',') : undefined;
} else if (['allow-insecure'].includes(key)) {
} else if (['allow-insecure', 'insecure'].includes(key)) {
proxy['skip-cert-verify'] = /(TRUE)|1/i.test(value);
} else if (['fast-open'].includes(key)) {
proxy.tfo = true;