Skip to content

Commit

Permalink
install.sh: update ghproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwml authored Jul 20, 2024
1 parent 403d7a5 commit 1837e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ country_code=$(echo $ip_info | sed -r 's/.*country_code":"([^"]*).*/\1/')
if [ $country_code = "CN" ]; then
google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204)
if [ ! $google_status = "204" ];then
mirror="https://gh.cooluc.com/"
mirror="https://hub.gitmirror.com/"
fi
fi

Expand Down

0 comments on commit 1837e20

Please sign in to comment.