Skip to content

Node.js based forum software built for the modern web

feat: remove gif exif stripping exception

Oplikof8219aa6cd25
diff --git a/src/image.js b/src/image.js
index 62f84d365e..4f07267f16 100644
--- a/src/image.js
+++ b/src/image.js
@@ -103,7 +103,7 @@ image.size = async function (path) {
};
image.stripEXIF = async function (path) {
- if (!meta.config.stripEXIFData || path.endsWith('.gif') || path.endsWith('.svg')) {
+ if (!meta.config.stripEXIFData || path.endsWith('.svg')) {
return;
}
try {