Skip to content

Commit 744941c

Browse files
committed
feat: Egern tfo 字段格式规范化
1 parent 0a97bc5 commit 744941c

2 files changed

Lines changed: 2 additions & 2 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.36.32",
3+
"version": "2.36.33",
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/producers/egern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ function hasHeaders(proxy) {
672672
}
673673

674674
function getTfo(proxy) {
675-
return proxy.tfo ?? proxy['fast-open'];
675+
return !!(proxy.tfo ?? proxy['fast-open']);
676676
}
677677

678678
function getUdpRelay(proxy) {

0 commit comments

Comments
 (0)