Skip to content
Browse files

.functions: Update `gitio` to use HTTPS

Looks like git.io recently enabled HTTPS. Because they’re now redirecting from HTTP to HTTPS the old script stopped working.

Thanks to @sixertoy for spotting this: 4f48f25#commitcomment-17317282
1 parent 986f56f commit 13e207888bcba0a8afe4a241a8dd78729848e168 @mathiasbynens committed May 2, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 .functions
View
2 .functions
@@ -91,7 +91,7 @@ function gitio() {
echo "Usage: \`gitio slug url\`";
return 1;
fi;
- curl -i http://git.io/ -F "url=${2}" -F "code=${1}";
+ curl -i https://git.io/ -F "url=${2}" -F "code=${1}";
}
# Start an HTTP server from a directory, optionally specifying the port

0 comments on commit 13e2078

Please sign in to comment.
Something went wrong with that request. Please try again.