Change libvips to be enabled by default (#34741)

This commit is contained in:
Claire 2025-05-20 19:14:17 +02:00 committed by GitHub
parent 4709121f72
commit f7182ddc8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 8 deletions

View file

@ -95,7 +95,7 @@ module Mastodon
require 'mastodon/redis_configuration'
::REDIS_CONFIGURATION = Mastodon::RedisConfiguration.new
config.x.use_vips = ENV['MASTODON_USE_LIBVIPS'] == 'true'
config.x.use_vips = ENV['MASTODON_USE_LIBVIPS'] != 'false'
if config.x.use_vips
require_relative '../lib/paperclip/vips_lazy_thumbnail'