Add more supported file extensions

This commit is contained in:
Les De Ridder 2016-01-18 16:42:45 +01:00
parent 1f4c9dd10b
commit a2a90b0d79
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ function isCoolUrl(url) {
var extensionIndex = url.lastIndexOf('.'); var extensionIndex = url.lastIndexOf('.');
var extension = url.substr(extensionIndex + 1); 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"]; var blackList = ["pomf", "mixtape.moe", "catgirlsare.sexy", "cocaine.ninja"];