Skip to content
Browse files

update cloudapp script for new url format

  • Loading branch information...
1 parent 6db3b50 commit 41dbc455eb0bf96624954c8f50065cbf9687b248 @ricardochimal ricardochimal committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/cloudapp.coffee
View
2 src/scripts/cloudapp.coffee
@@ -14,7 +14,7 @@
# lmarburger
module.exports = (robot) ->
- robot.hear /(https?:\/\/cl.ly\/[A-Za-z0-9]+)(\/[^\/]+)?/i, (msg) ->
+ robot.hear /(https?:\/\/cl.ly\/image\/[A-Za-z0-9]+)(\/[^\/]+)?/i, (msg) ->
return if msg.match[2] # Ignore already embedded images.
link = msg.match[1]

0 comments on commit 41dbc45

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