Skip to content

Commit 276d5ce

Browse files
committed
feat: 去除部分默认 alpn
1 parent a8ffdd4 commit 276d5ce

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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.20.25",
3+
"version": "2.20.26",
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/clashmeta.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@ export default function ClashMeta_Producer() {
102102
proxy.alpn = Array.isArray(proxy.alpn)
103103
? proxy.alpn
104104
: [proxy.alpn];
105-
} else {
106-
proxy.alpn = ['h3'];
107105
}
106+
// else {
107+
// proxy.alpn = ['h3'];
108+
// }
108109
if (
109110
isPresent(proxy, 'tfo') &&
110111
!isPresent(proxy, 'fast-open')

backend/src/core/proxy-utils/producers/shadowrocket.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ export default function Shadowrocket_Producer() {
4646
proxy.alpn = Array.isArray(proxy.alpn)
4747
? proxy.alpn
4848
: [proxy.alpn];
49-
} else {
50-
proxy.alpn = ['h3'];
5149
}
50+
// else {
51+
// proxy.alpn = ['h3'];
52+
// }
5253
if (
5354
isPresent(proxy, 'tfo') &&
5455
!isPresent(proxy, 'fast-open')

0 commit comments

Comments
 (0)