From b4933de644101f4ccb378326f4ac04f854b12b59 Mon Sep 17 00:00:00 2001 From: xero harrison Date: Fri, 13 May 2016 12:46:16 -0400 Subject: update to secure protocol --- bin/bin/gitio | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/bin/gitio b/bin/bin/gitio index ef6bba3..0d0f4c6 100755 --- a/bin/bin/gitio +++ b/bin/bin/gitio @@ -74,9 +74,9 @@ esac if [ -z "$VANITY" ] then - url=`curl -is http://git.io -F "url=$GHURL" | grep -i "location" | cut -d' ' -f2` + url=`curl -is https://git.io -F "url=$GHURL" | grep -i "location" | cut -d' ' -f2` else - url=`curl -is http://git.io -F "url=$GHURL" -F "code=$VANITY" | grep -i "location" | cut -d' ' -f2` + url=`curl -is https://git.io -F "url=$GHURL" -F "code=$VANITY" | grep -i "location" | cut -d' ' -f2` fi if [ -z $url ] -- cgit v1.2.1