Skip to content

Commit

Permalink
feat: support new surgio
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Oct 28, 2019
1 parent 28f0b31 commit 8449df7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions template/template/surge_simple.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ hide-crashlytics-request = true
[Proxy Group]
Proxy = select, {{ getNodeNames(nodeList) }}
Apple = select, DIRECT, Proxy, US, HK
US = url-test, {{ getNodeNames(nodeList, undefined, usFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
HK = url-test, {{ getNodeNames(nodeList, undefined, hkFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
US = url-test, {{ getNodeNames(nodeList, usFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
HK = url-test, {{ getNodeNames(nodeList, hkFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200

[Rule]
{{ apple_rules.main('Proxy', 'Apple', 'DIRECT', 'DIRECT', 'US') }}
Expand Down
6 changes: 3 additions & 3 deletions template/template/surge_v3.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ hide-crashlytics-request = true

[Proxy Group]
πŸš€ Proxy = select, {{ getNodeNames(nodeList) }}
🎬 Netflix = select, {{ getNodeNames(nodeList, undefined, netflixFilter) }}
🎬 Netflix = select, {{ getNodeNames(nodeList, netflixFilter) }}
πŸ“Ί YouTube = select, πŸš€ Proxy, US, HK
🍎 Apple = select, DIRECT, πŸš€ Proxy, US, HK
🍎 Apple CDN = select, DIRECT, 🍎 Apple
US = url-test, {{ getNodeNames(nodeList, undefined, usFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
HK = url-test, {{ getNodeNames(nodeList, undefined, hkFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
US = url-test, {{ getNodeNames(nodeList, usFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200
HK = url-test, {{ getNodeNames(nodeList, hkFilter) }}, url = http://www.qualcomm.cn/generate_204, interval = 1200

[Rule]
{{ apple_rules.main('πŸš€ Proxy', '🍎 Apple', '🍎 Apple CDN', 'DIRECT', 'US') }}
Expand Down

0 comments on commit 8449df7

Please sign in to comment.