set variant_processor to mini_magick

Seem like the default variant processor become vips.

https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/8280341472/job/22656656944?pr=12209
https://github.com/rails/rails/issues/44211

The comment on the source code doesn't seem to be updated
4bb7323341/activestorage/app/models/active_storage/variant.rb (L11)
This commit is contained in:
Mohamed ABDELLANI
2024-03-14 14:32:14 +01:00
parent a9d586952d
commit c497b37452

View File

@@ -249,6 +249,7 @@ module Openfoodnetwork
config.active_storage.content_types_to_serve_as_binary -= ["image/svg+xml"]
config.active_storage.variable_content_types += ["image/svg+xml"]
config.active_storage.url_options = config.action_controller.default_url_options
config.active_storage.variant_processor = :mini_magick
config.exceptions_app = self.routes