Permalink
Browse files

"SSL Everywhere" for GitHub URLs

  • Loading branch information...
1 parent e3eb20a commit 8b564e9df689c67a23833428e48e08b83e7a8a4f @amatsuda amatsuda committed Oct 8, 2012
@@ -29,7 +29,7 @@ module.exports = (robot) ->
else if commits.length == 0
msg.send "Achievement unlocked: [LIKE A BOSS] no commits found!"
else
- msg.send "http://github.com/#{repo}"
+ msg.send "https://github.com/#{repo}"
send = 5
for c in commits
if send
@@ -42,5 +42,5 @@ module.exports = (robot) ->
else if commits.length == 0
msg.send "Achievement unlocked: [LIKE A BOSS] no commits found!"
else
- msg.send "http://github.com/#{repo}"
+ msg.send "https://github.com/#{repo}"
response_handler commits
@@ -26,4 +26,4 @@ module.exports = (robot) ->
issue_title = ""
github.get "https://api.github.com/repos/#{bot_github_repo}/issues/" + issue_number, (issue_obj) ->
issue_title = issue_obj.title
- msg.send "Issue " + issue_number + ": " + issue_title + " http://github.com/" + bot_github_repo + '/issues/' + issue_number
+ msg.send "Issue " + issue_number + ": " + issue_title + " https://github.com/" + bot_github_repo + '/issues/' + issue_number

0 comments on commit 8b564e9

Please sign in to comment.