Change libvips to be enabled by default (#34741)
This commit is contained in:
parent
4709121f72
commit
f7182ddc8b
3 changed files with 14 additions and 8 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue