Skip to content

Commit

Permalink
install.sh: update ghproxy
Browse files Browse the repository at this point in the history
Signed-off-by: sbwml <[email protected]>
  • Loading branch information
sbwml committed Dec 17, 2024
1 parent adbfd78 commit ed10529
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 @@ -29,7 +29,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://mirror.ghproxy.com/"
mirror="https://gh-proxy.com/"
fi
fi

Expand Down

0 comments on commit ed10529

Please sign in to comment.