From d113015eb25936b0cca14be7658630635934f0cc Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:55 +0200 Subject: [PATCH] Removed jpeg to jpg replace. --- src/interpolate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpolate.js b/src/interpolate.js index 5bd1d5d..ebc5b3f 100644 --- a/src/interpolate.js +++ b/src/interpolate.js @@ -64,7 +64,7 @@ function interpolate(pattern, user, post, item) { $itemIndex: item.index + config.library.indexOffset, $extracted: item.extracted ? config.library.booleans.extracted : '', $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)}` }); }