mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #7582
This commit is contained in:
@@ -92,6 +92,9 @@ image.size = function (path, callback) {
|
||||
};
|
||||
|
||||
image.stripEXIF = function (path, callback) {
|
||||
if (path.endsWith('.gif')) {
|
||||
return setImmediate(callback);
|
||||
}
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
fs.readFile(path, next);
|
||||
|
||||
Reference in New Issue
Block a user