Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Make Git.io use HTTPS by default.
Browse files Browse the repository at this point in the history
A little extra security never hurt anybody.
  • Loading branch information
MikeMcQuaid committed Jan 20, 2016
1 parent d084fe3 commit 239f331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/irc
Expand Up @@ -103,7 +103,7 @@ _Enabling_ colors in messages may require the IRC channel to allow colors.

### Long url

Enables including full URLs in messages. When disabled, [git.io](http://git.io/) URLs will be used.
Enables including full URLs in messages. When disabled, [git.io](https://git.io/) URLs will be used.


### Notice
Expand Down
2 changes: 1 addition & 1 deletion lib/service.rb
Expand Up @@ -521,7 +521,7 @@ def respond_to_event?
#
# Returns the String URL response from git.io.
def shorten_url(url)
res = http_post("http://git.io", :url => url)
res = http_post("https://git.io", :url => url)
if res.status == 201
res.headers['location']
else
Expand Down

0 comments on commit 239f331

Please sign in to comment.