Add more supported file extensions
This commit is contained in:
parent
1f4c9dd10b
commit
a2a90b0d79
|
@ -87,7 +87,7 @@ function isCoolUrl(url) {
|
|||
var extensionIndex = url.lastIndexOf('.');
|
||||
var extension = url.substr(extensionIndex + 1);
|
||||
|
||||
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv"];
|
||||
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus"];
|
||||
|
||||
var blackList = ["pomf", "mixtape.moe", "catgirlsare.sexy", "cocaine.ninja"];
|
||||
|
||||
|
|
Loading…
Reference in New Issue