mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 16:41:21 +01:00
feat: remove gif exif stripping exception
This commit is contained in:
@@ -103,7 +103,7 @@ image.size = async function (path) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
image.stripEXIF = 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;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user