Skip to content

Commit 1401d64

Browse files
修复了一些bug
1 parent c2e6a61 commit 1401d64

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Rewrite-Parser.beta.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,11 +1748,7 @@ if (binaryInfo != null && binaryInfo.length > 0) {
17481748
}
17491749

17501750
if (isSurgeiOS || isShadowrocket) {
1751-
if (isSurgeiOS) {
17521751
MITM = hnBox.length > 0 ? `[MITM]\n${hn2name} = ${hnaddMethod} ` + hnBox : ''
1753-
} else {
1754-
MITM = hnBox.length > 0 ? `[MITM]\nhostname = ${hnaddMethod} ` + hnBox : ''
1755-
}
17561752
fheBox.length > 0 && General.push(`force-http-engine-hosts = ${fheaddMethod} ` + fheBox)
17571753
skipBox.length > 0 && General.push(`skip-proxy = ${skipaddMethod} ` + skipBox)
17581754
realBox.length > 0 && General.push(`always-real-ip = ${realaddMethod} ` + realBox)

Rewrite-Parser.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,11 +1748,7 @@ if (binaryInfo != null && binaryInfo.length > 0) {
17481748
}
17491749

17501750
if (isSurgeiOS || isShadowrocket) {
1751-
if (isSurgeiOS) {
17521751
MITM = hnBox.length > 0 ? `[MITM]\n${hn2name} = ${hnaddMethod} ` + hnBox : ''
1753-
} else {
1754-
MITM = hnBox.length > 0 ? `[MITM]\nhostname = ${hnaddMethod} ` + hnBox : ''
1755-
}
17561752
fheBox.length > 0 && General.push(`force-http-engine-hosts = ${fheaddMethod} ` + fheBox)
17571753
skipBox.length > 0 && General.push(`skip-proxy = ${skipaddMethod} ` + skipBox)
17581754
realBox.length > 0 && General.push(`always-real-ip = ${realaddMethod} ` + realBox)

0 commit comments

Comments
 (0)