mirror of
https://github.com/neocities/neocities.git
synced 2025-08-30 04:43:05 +02:00
disable image optimizer (too slow rn)
This commit is contained in:
parent
352e02deba
commit
4839e59caf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue