feat: 去除部分默认 alpn

This commit is contained in:
xream committed 2025-09-28 16:10:11 +08:00
1 parent a8ffdd45c5
commit 276d5cea54
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.20.25",
"version": "2.20.26",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
"main": "src/main.js",
"scripts": {
@@ -102,9 +102,10 @@ export default function ClashMeta_Producer() {
proxy.alpn = Array.isArray(proxy.alpn)
? proxy.alpn
: [proxy.alpn];
} else {
proxy.alpn = ['h3'];
}
// else {
// proxy.alpn = ['h3'];
// }
if (
isPresent(proxy, 'tfo') &&
!isPresent(proxy, 'fast-open')
@@ -46,9 +46,10 @@ export default function Shadowrocket_Producer() {
proxy.alpn = Array.isArray(proxy.alpn)
? proxy.alpn
: [proxy.alpn];
} else {
proxy.alpn = ['h3'];
}
// else {
// proxy.alpn = ['h3'];
// }
if (
isPresent(proxy, 'tfo') &&
!isPresent(proxy, 'fast-open')