Skip to content

Commit

Permalink
修复显示本地ip出错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejun committed Dec 22, 2024
1 parent 3987436 commit d139a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion singbox/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export_list() {
if [[ "$HY2IP" != "::" ]]; then
myip=${HY2IP}
else
myip="$(curl -s ifconfig.me)"
myip="$(curl -s icanhazip.com)"
fi
vmessname="Argo-vmess-$host-$user"
hy2name="Hy2-$host-$user"
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ setColorWord(){
}

showIP(){
myip="$(curl -s ifconfig.me)"
myip="$(curl -s icanhazip.com)"
green "本机IP: $myip"
}

Expand Down

0 comments on commit d139a31

Please sign in to comment.