Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit 3a7f40e

Browse files
committed
revert
1 parent cce14fc commit 3a7f40e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2gun.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ install_v2ray() {
930930

931931
edit_cf_node() {
932932
if [ -f "/usr/local/bin/v2ray" ]; then
933-
local cf_node_current="$(read_json /usr/local/etc/v2ray/05_inbounds_ss.json '.inbounds[0].tag')"
933+
local cf_node_current="$(read_json /usr/local/etc/v2ray/05_inbounds_trojan.json '.inbounds[0].tag')"
934934
printf "%s\n" "输入编号使用建议值"
935935
printf "1. %s\n" "icook.hk"
936936
printf "2. %s\n" "www.digitalocean.com"
@@ -946,7 +946,7 @@ edit_cf_node() {
946946
if [ -z "${cf_node_new}" ]; then
947947
cf_node_new="${cf_node_current}"
948948
fi
949-
write_json /usr/local/etc/v2ray/05_inbounds_ss.json ".inbounds[0].tag" "\"${cf_node_new}\""
949+
write_json /usr/local/etc/v2ray/05_inbounds_trojan.json ".inbounds[0].tag" "\"${cf_node_new}\""
950950
sleep 1
951951
printf "%s\n" "CF 节点己变更为 ${cf_node_new}"
952952
show_links

0 commit comments

Comments
 (0)