Skip to content

Commit 5aa1a7d

Browse files
committed
Revert "更新[Boxjs]订阅: 增加 http://1.1.1.1/home (注意是 http 不是 https)"
This reverts commit 95d46c0.
1 parent 95d46c0 commit 5aa1a7d

4 files changed

Lines changed: 5 additions & 13 deletions

File tree

QuantumultX.box.local.conf

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

33
^https://8.8.8.8/api url script-request-body chavyleung/chavy.box.js
44
^https://8.8.8.8/(home|sub|my|app|log|revert)($|\/) url script-response-body chavyleung/chavy.box.js
5-
^https?://1.1.1.1/api url script-request-body chavyleung/chavy.box.js
6-
^https?://1.1.1.1/(home|sub|my|app|log|revert)($|\/) url script-response-body chavyleung/chavy.box.js

QuantumultX.box.remote.conf

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

33
^https://8.8.8.8/api url script-request-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
44
^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
5-
^https?://1.1.1.1/api url script-request-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js
6-
^https?://1.1.1.1/(home|sub|my|app|log|revert)($|\/) url script-response-body https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js

loon.box.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
hostname = 8.8.8.8, 1.1.1.1
1+
hostname = 8.8.8.8
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
5-
http-request ^https?://1.1.1.1/api script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js, requires-body=true
6-
http-response ^https?://1.1.1.1/(home|sub|my|app|log|revert)($|\/) 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

surge.box.sgmodule

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
[Script]
55
Rewrite: Scripts Manager = 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
66
Rewrite: Scripts Manager = 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
7-
Rewrite: Scripts Manager = type=http-request,pattern=^https://1.1.1.1/api,script-path=https://gitee.com/chavyleung/scripts/raw/master/chavy.box.js,requires-body=true,max-size=0,timeout=120
8-
Rewrite: Scripts Manager = type=http-response,pattern=^https://1.1.1.1/(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
97

108
[MITM]
11-
hostname = %INSERT%, 8.8.8.8, 1.1.1.1
9+
hostname = %INSERT%, 8.8.8.8

0 commit comments

Comments
 (0)