Skip to content

Commit a179653

Browse files
committed
feat: mihomo/Shadowrocket 输出排除掉 XHTTP 传输层(现在 Sub-Store 输出到 Shadowrocket 是用的 mihomo 格式, 如果你想让 Shadowrocket 支持 XHTTP 请选择 V2Ray 格式输出)
1 parent d6f18a3 commit a179653

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
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.30",
3+
"version": "2.20.31",
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export default function ClashMeta_Producer() {
6767
proxy['reality-opts']))
6868
) {
6969
return false;
70+
} else if (['xhttp'].includes(proxy.network)) {
71+
return false;
7072
}
7173
return true;
7274
})

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ export default function Shadowrocket_Producer() {
136136
proxy['reality-opts']))
137137
) {
138138
return false;
139+
} else if (['xhttp'].includes(proxy.network)) {
140+
return false;
139141
}
140142

141143
if (

0 commit comments

Comments
 (0)