Permalink
Browse files

switching translate.coffee to use https

  • Loading branch information...
1 parent 30e64af commit 22387b03d641c236c96ff1f25ab2acdf5eecef85 @mastahyeti mastahyeti committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/translate.coffee
@@ -81,7 +81,7 @@ module.exports = (robot) ->
origin = if msg.match[1] isnt undefined then getCode(msg.match[1], languages) else 'auto'
target = if msg.match[2] isnt undefined then getCode(msg.match[2], languages) else 'en'
- msg.http("http://translate.google.com/translate_a/t")
+ msg.http("https://translate.google.com/translate_a/t")
.query({
client: 't'
hl: 'en'

0 comments on commit 22387b0

Please sign in to comment.