Enable png

This commit is contained in:
Chris Blanchard 2015-10-06 13:35:23 +01:00
parent eece3147dd
commit c592fd3ec5

View file

@ -62,7 +62,7 @@ var Chatroom = React.createClass({
} }
}); });
var imgurRegex = /^(https?:\/\/i\.imgur\.com\/\S*\.jpg)$/i; var imgurRegex = /^(https?:\/\/i\.imgur\.com\/\S*\.(jpg|png))$/i;
var ChatMessage = React.createClass({ var ChatMessage = React.createClass({
mixins: [ mixins: [