fix: dont stripEXIF from gifs

This commit is contained in:
Barış Soner Uşaklı
2024-12-24 11:59:51 -05:00
parent 77521494f7
commit f478adac2f

View File

@@ -103,7 +103,7 @@ image.size = async function (path) {
};
image.stripEXIF = async function (path) {
if (!meta.config.stripEXIFData || path.endsWith('.svg')) {
if (!meta.config.stripEXIFData || path.endsWith('.gif') || path.endsWith('.svg')) {
return;
}
try {