diff --git a/src/util.ts b/src/util.ts index 7722998..99b3fec 100644 --- a/src/util.ts +++ b/src/util.ts @@ -3,8 +3,8 @@ export const proxyURL = (url: string): string => export const linkify = (content: string) => content.replace( - /https?:\/\/[^.]*\.imgur.com\/([\/_a-zA-Z0-9-]+)\.gifv/g, - '' + /https?:\/\/[^.]*\.imgur.com\/([\/_a-zA-Z0-9-]+)\.(gifv|mp4)/g, + '' ).replace( /https?:\/\/[^.]*\.imgur.com\/([\/_a-zA-Z0-9-]+\.[a-z0-9A-Z]{2,6})/g, ''