Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72b042c

Browse files
authored
Merge pull request ruanyf#29 from mendel5/patch-1
Use https instead of http for wttr.in request
2 parents d6fad6d + 5f2e970 commit 72b042c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/weather.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ case $1 in
1818
echo "-l [location] --location [location] Specifies the location"
1919
;;
2020
-l | --location)
21-
curl wttr.in/$2
21+
curl https://wttr.in/$2
2222
;;
2323
*)
24-
curl wttr.in
24+
curl https://wttr.in
2525
;;
2626
esac

0 commit comments

Comments
 (0)