mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 11:48:06 +01:00
Make MASTODON_USE_LIBVIPS default to true
This commit is contained in:
parent
e53b002379
commit
3fa67cbe7a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ module Mastodon
|
|||
config.before_configuration do
|
||||
require 'mastodon/redis_config'
|
||||
|
||||
config.x.use_vips = ENV['MASTODON_USE_LIBVIPS'] == 'true'
|
||||
config.x.use_vips = ENV.fetch('MASTODON_USE_LIBVIPS', 'true') == 'true'
|
||||
|
||||
if config.x.use_vips
|
||||
require_relative '../lib/paperclip/vips_lazy_thumbnail'
|
||||
|
|
Loading…
Reference in a new issue