Fixed RedGIFs module content type.
This commit is contained in:
@@ -59,7 +59,7 @@ async function redgifs(host) {
|
||||
id: data.gif.id,
|
||||
url: data.gif.urls.hd,
|
||||
description: data.gif.tags.join(', '),
|
||||
type: mime.getType(data.gif.urls.hd),
|
||||
type: mime.getType(new URL(data.gif.urls.hd).pathname),
|
||||
datetime: new Date(data.gif.createDate * 1000),
|
||||
original: data.gif,
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user