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

Skip to content

Commit 5f2e970

Browse files
authored
use https instead of http for wttr.in request
For more info see https://doesmysiteneedhttps.com/ and https://www.troyhunt.com/heres-why-your-static-website-needs-https/
1 parent d6fad6d commit 5f2e970

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)