Skip to content

Commit

Permalink
1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gooaclok819 committed Apr 14, 2024
1 parent 013b94e commit 3e748b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/surge.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func EncodeSurge(urls []string, sqlconfig SqlConfig) (string, error) {
"udp": sqlconfig.Udp,
"skip-cert-verify": sqlconfig.Cert,
}
hy2proxy := fmt.Sprintf("%s = hy2, %s, %d, password=%s, udp-relay=%t, skip-cert-verify=%t",
hy2proxy := fmt.Sprintf("%s = hysteria2, %s, %d, password=%s, udp-relay=%t, skip-cert-verify=%t",
proxy["name"], proxy["server"], proxy["port"], proxy["password"], proxy["udp"], proxy["skip-cert-verify"])
if hy2.Sni != "" {
hy2proxy = fmt.Sprintf("%s, sni=%s", hy2proxy, hy2.Sni)
Expand Down
4 changes: 2 additions & 2 deletions template/surge.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DIRECT = direct

[Proxy Group]
🚀 节点选择 = select,🇭🇰 香港节点,🇨🇳 台湾节点,🇸🇬 狮城节点,🇯🇵 日本节点,🇺🇲 美国节点,🇰🇷 韩国节点,🚀 手动切换,DIRECT
🚀 手动切换 = select,auto
🚀 手动切换 = select
📲 电报消息 = select,🚀 节点选择,🇸🇬 狮城节点,🇭🇰 香港节点,🇨🇳 台湾节点,🇯🇵 日本节点,🇺🇲 美国节点,🇰🇷 韩国节点,🚀 手动切换,DIRECT
💬 OpenAi = select,🚀 节点选择,🇸🇬 狮城节点,🇭🇰 香港节点,🇨🇳 台湾节点,🇯🇵 日本节点,🇺🇲 美国节点,🇰🇷 韩国节点,🚀 手动切换,DIRECT
📹 油管视频 = select,🚀 节点选择,🇸🇬 狮城节点,🇭🇰 香港节点,🇨🇳 台湾节点,🇯🇵 日本节点,🇺🇲 美国节点,🇰🇷 韩国节点,🚀 手动切换,DIRECT
Expand All @@ -50,7 +50,7 @@ DIRECT = direct
🛑 广告拦截 = select,REJECT,DIRECT
🍃 应用净化 = select,REJECT,DIRECT
🐟 漏网之鱼 = select,🚀 节点选择,DIRECT,🇭🇰 香港节点,🇨🇳 台湾节点,🇸🇬 狮城节点,🇯🇵 日本节点,🇺🇲 美国节点,🇰🇷 韩国节点,🚀 手动切换
🇭🇰 香港节点 = select,auto
🇭🇰 香港节点 = select

[Rule]
RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/LocalAreaNetwork.list,🎯 全球直连,update-interval=86400
Expand Down

0 comments on commit 3e748b1

Please sign in to comment.