Skip to content

Commit 11aa5a3

Browse files
committed
更新[BoxJs]订阅: 修复 Surge&Loon 环境访问不了 8888 问题
1 parent 561b5e4 commit 11aa5a3

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎QuantumultX.box.local.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
hostname = 8.8.8.8, 1.1.1.1
22

33
^https://8.8.8.8/api url script-request-body chavyleung/chavy.box.js
4-
^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) url script-response-body chavyleung/chavy.box.js
4+
^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) url script-echo-response chavyleung/chavy.box.js
55
^https?://1.1.1.1/api url script-request-body chavy.box.js
66
^https?://1.1.1.1/(home|sub|my|app|log|revert)($|\/) url script-echo-response chavy.box.js

‎QuantumultX.box.remote.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
hostname = 8.8.8.8, 1.1.1.1
22

33
^https://8.8.8.8/api url script-request-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
4-
^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) url script-response-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
4+
^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) url script-echo-response https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
55
^https?://1.1.1.1/api url script-request-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
66
^https?://1.1.1.1/(home|sub|my|app|log|revert)($|\/) url script-echo-response https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js

‎loon.box.conf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
hostname = 8.8.8.8, 1.1.1.1
22

33
http-request ^https://8.8.8.8/api script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js, requires-body=true
4-
http-response ^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js, requires-body=true
4+
http-request ^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js, requires-body=true
55
http-request ^https?://1.1.1.1/(api|home|sub|my|app|log|revert)($|\/) script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js, requires-body=true, timeout=120, tag=chavy.box.js

‎surge.box.sgmodule‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[Script]
55
Rewrite: BoxJs = type=http-request,pattern=^https://8.8.8.8/api,script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js,requires-body=true,max-size=0,timeout=120
6-
Rewrite: BoxJs = type=http-response,pattern=^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/),script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js,requires-body=true,max-size=0,timeout=120
6+
Rewrite: BoxJs = type=http-request,pattern=^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/),script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js,requires-body=true,max-size=0,timeout=120
77
Rewrite: BoxJs = type=http-request,pattern=^https?://1.1.1.1/(api|home|sub|my|app|log|revert)($|\/),script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js,requires-body=true,max-size=0,timeout=120
88

99
[MITM]

0 commit comments

Comments
 (0)