Add webp and avif as allowed formats for active storage to serve inline (#50265)
This commit is contained in:
parent
1247932c80
commit
2ec0ff42be
@ -65,6 +65,8 @@ class Engine < Rails::Engine # :nodoc:
|
||||
)
|
||||
|
||||
config.active_storage.content_types_allowed_inline = %w(
|
||||
image/webp
|
||||
image/avif
|
||||
image/png
|
||||
image/gif
|
||||
image/jpeg
|
||||
|
Loading…
Reference in New Issue
Block a user