Removed jpeg to jpg replace.
This commit is contained in:
parent
8abda731dd
commit
b9a9fb16cf
|
@ -64,7 +64,7 @@ function interpolate(pattern, user, post, item) {
|
||||||
$itemIndex: item.index + config.library.indexOffset,
|
$itemIndex: item.index + config.library.indexOffset,
|
||||||
$extracted: item.extracted ? config.library.booleans.extracted : '',
|
$extracted: item.extracted ? config.library.booleans.extracted : '',
|
||||||
$preview: item.preview ? config.library.booleans.preview : '',
|
$preview: item.preview ? config.library.booleans.preview : '',
|
||||||
$ext: `.${mime.extension(item.type) || path.extname(url.parse(item.url).pathname)}`.replace('jpeg', 'jpg')
|
$ext: `.${mime.extension(item.type) || path.extname(url.parse(item.url).pathname)}`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue