disable image optimizer (too slow rn)

This commit is contained in:
Kyle Drake 2025-08-13 15:25:01 +00:00
parent 352e02deba
commit 4839e59caf

View file

@ -56,7 +56,7 @@ class ScreenshotWorker
# We only need the full PNG for the main index right now # We only need the full PNG for the main index right now
if path.match /^\/index.html?$/ if path.match /^\/index.html?$/
ImageOptimizer.new(base_image_tmpfile_path, level: 1).optimize #ImageOptimizer.new(base_image_tmpfile_path, level: 1).optimize
FileUtils.cp base_image_tmpfile_path, File.join(user_screenshots_path, "#{path}.png") FileUtils.cp base_image_tmpfile_path, File.join(user_screenshots_path, "#{path}.png")
end end