mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 05:31:42 +00:00
feat: permitir subir webp
This commit is contained in:
parent
2086ade1a7
commit
563060e113
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ module Sutty
|
|||
.rescue_responses['Pundit::NotAuthorizedError'] = :forbidden
|
||||
|
||||
config.active_storage.variant_processor = :vips
|
||||
config.active_storage.web_image_content_types << 'image/webp'
|
||||
|
||||
config.to_prepare do
|
||||
# Load application's model / class decorators
|
||||
|
|
Loading…
Reference in a new issue