Use PNG even went not dithering
Seeing webp encoding issues
This commit is contained in:
@@ -6,7 +6,7 @@ MiniMagick.logger.level = Logger::DEBUG
|
||||
ROOT = ENV.fetch("ROOT")
|
||||
KEY = ENV.fetch("KEY")
|
||||
DITHER = ENV["DITHER"] != "0"
|
||||
FORMAT = DITHER ? "png" : "webp"
|
||||
FORMAT = "png"
|
||||
|
||||
get "/*" do |path|
|
||||
halt 404, {"Content-Type" => "text/plain"}, "not found" unless File.exist?("#{ROOT}/#{path}.enc")
|
||||
|
||||
Reference in New Issue
Block a user