From 1d3dee19507d21125494a6e3985f31e952fa6be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sun, 9 Aug 2020 02:06:20 +0200 Subject: [PATCH] Fix image optimization --- lib/tools/redownload/redownload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/redownload/redownload.js b/lib/tools/redownload/redownload.js index 0d4f5de..72b3957 100644 --- a/lib/tools/redownload/redownload.js +++ b/lib/tools/redownload/redownload.js @@ -136,7 +136,7 @@ var Redownload = function() { // Now remove unwanted responses (redirections and empty files) results = results.filter(function(result) { - return ((result.status < 300 || result.status >= 400) && result.weightCheck.bodySize > 0); + return (/* (result.status < 300 || result.status >= 400) && */ result.weightCheck.bodySize > 0); }); // Image compression