aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup <klaus@seistrup.dk>2018-12-25 17:10:51 +0100
committerKlaus Alexander Seistrup <klaus@seistrup.dk>2018-12-25 17:10:51 +0100
commit197205ac032f0789a6fcad3266f3592fc91dbaea (patch)
tree3ba70d5c4d4f4bec773673cd4292fd8b6c321490
parentSimplify makefile, change license, and don't use upcase for variables in usage and man page (diff)
downloadmetar-197205ac032f0789a6fcad3266f3592fc91dbaea.tar.gz
metar-197205ac032f0789a6fcad3266f3592fc91dbaea.tar.bz2
metar-197205ac032f0789a6fcad3266f3592fc91dbaea.tar.xz
Use HTTPS when possible
-rwxr-xr-xmetar2
1 files changed, 1 insertions, 1 deletions
diff --git a/metar b/metar
index 065f8bb..012133e 100755
--- a/metar
+++ b/metar
@@ -5,7 +5,7 @@ set -e
metar_url ()
{
- url="http://tgftp.nws.noaa.gov/data/observations/metar/decoded"
+ url="https://tgftp.nws.noaa.gov/data/observations/metar/decoded"
if test $# = 1; then
echo "${url}/$(echo "$1" | tr '[a-z]' '[A-Z]').TXT"
else