We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29143d8 commit 6aea97fCopy full SHA for 6aea97f
segments/wan_ip.sh
@@ -39,7 +39,7 @@ run_segment() {
39
fi
40
41
if [ -z "$wan_ip" ]; then
42
- if wan_ip=$(curl --max-time 2 -s http://whatismyip.akamai.com/); then
+ if wan_ip=$(curl --max-time 2 -s https://whatismyip.akamai.com/); then
43
echo "${wan_ip}" >"$tmp_file"
44
elif [ -f "${tmp_file}" ]; then
45
wan_ip=$(cat "$tmp_file")
0 commit comments